From 7497d56e534560f857974fb026e0b08cf0b6ecf3 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 26 May 2023 16:12:37 +0200 Subject: [PATCH] FIX: Avoid breaking symlinks during copy. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b70a00a..3cd34aa 100644 --- a/Makefile +++ b/Makefile @@ -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 $@