FIX: Avoid breaking symlinks during copy.

This commit is contained in:
Julien Palard 2023-05-26 16:12:37 +02:00
parent e37af50649
commit 7497d56e53
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
if [ -d static ]; then cp -a static/ output/; fi
if [ -d static ]; then cp -rpL static/ output/; fi
%.html: %.md
sed 's/#!//e;' $< | mdtoreveal /dev/stdin --output $@