about summary refs log tree commit diff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2024-10-16 15:50:02 +0200
committerRobert Günzler <r@gnzler.io>2024-10-16 17:33:17 +0200
commit7365f301014d402ef5179f3344bd49d2bb28c13c (patch)
tree90816dc28248e6b28b96f41523090e2a0e1d49a4 /makefile
parent176dad9ee41b356c5748e0b02dc11901589cd03a (diff)
downloadsite-7365f301014d402ef5179f3344bd49d2bb28c13c.tar.gz
annotate generated files
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index 4e35436..6d448b0 100644
--- a/makefile
+++ b/makefile
@@ -9,7 +9,8 @@ DST     := site
 
 # see https://pandoc.org/MANUAL.html#pandocs-markdown
 %.htm: %.md front.lua
-	$(PANDOC) -fmarkdown -thtml5 --lua-filter=front.lua -o $@ $<
+	@ echo "<!-- Generated file, you may edit and discard $< :) -->" >$@
+	$(PANDOC) -fmarkdown -thtml5 --lua-filter=front.lua $< >>$@
 
 # generator
 ZIG     ?= zig