diff --git a/Makefile b/Makefile index 3cd34aa..07168f7 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ +export PATH := $(PATH):bin SRCS := $(sort $(wildcard *.md)) DEST := $(notdir $(PWD)) .PHONY: static static: output/index.html - if [ -d static ]; then cp -rpL static/ output/; fi + @if [ -d static ]; then cp -rpL static/ output/; fi %.html: %.md sed 's/#!//e;' $< | mdtoreveal /dev/stdin --output $@ @@ -14,7 +15,7 @@ output/index.md: $(SRCS) .PHONY: rsync rsync: static - rsync -vah --delete output/ mdk_fr@mdk.fr:/var/www/mdk.fr/$(DEST)/ + rsync -ah --delete output/ mdk_fr@mdk.fr:/var/www/mdk.fr/$(DEST)/ .PHONY: clean clean: @@ -30,6 +31,6 @@ serve: static .PHONY: test test: - if [ -f test.py ]; then \ + @if [ -f test.py ]; then \ python test.py *.md; \ fi