Proofreading Makefile.

This commit is contained in:
Julien Palard 2023-01-24 15:23:43 +01:00
parent 26ff2352c1
commit 6cd4e1bd73
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ DEST := $(notdir $(PWD))
.PHONY: static
static: output/index.html
cp -a static/ output/
%.html: %.md
sed 's/#!//e;' $< | mdtoreveal /dev/stdin --output $@
@ -13,7 +14,7 @@ output/index.md: $(SRCS)
.PHONY: rsync
rsync: static
rsync -vah --delete output/ mdk_fr@mdk.fr:/var/www/mdk.fr/$DEST/
rsync -vah --delete output/ mdk_fr@mdk.fr:/var/www/mdk.fr/$(DEST)/
.PHONY: clean
clean: