Not all directories have a static folder.

This commit is contained in:
Julien Palard 2023-01-24 15:29:31 +01:00
parent c9696d6de3
commit 447014bc9f
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ DEST := $(notdir $(PWD))
.PHONY: static
static: output/index.html
cp -a static/ output/
if [ -d static ]; then cp -a static/ output/; fi
%.html: %.md
sed 's/#!//e;' $< | mdtoreveal /dev/stdin --output $@