summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2be2e21..aa4ecf3 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ subpages = $(patsubst content/%.md,.cache/meta/%.json, \
62 -o "$@" "$<" 62 -o "$@" "$<"
63 rm "$(PAGES)" 63 rm "$(PAGES)"
64 64
65out/%.html: content/%.md .cache/meta/%.json $(TEMPLATES_SRC) metadata/*.yaml filters/*.lua scripts/metadata_filter.lua | out 65out/%.html: content/%.md .cache/meta/%.json $(TEMPLATES_SRC) metadata/*.yaml filters/*.lua scripts/metadata_filter.lua out/style.css | out
66 $(info [MARK] $< -> $@) 66 $(info [MARK] $< -> $@)
67 67
68 mkdir -p $(@D) 68 mkdir -p $(@D)
@@ -74,6 +74,7 @@ out/%.html: content/%.md .cache/meta/%.json $(TEMPLATES_SRC) metadata/*.yaml fil
74 --lua-filter scripts/metadata_filter.lua \ 74 --lua-filter scripts/metadata_filter.lua \
75 $(GLOBAL_METADATA) \ 75 $(GLOBAL_METADATA) \
76 --metadata-file "$(filter .cache/meta/%.json,$^)" \ 76 --metadata-file "$(filter .cache/meta/%.json,$^)" \
77 --metadata style_hash="$(shell sha256sum out/style.css | cut -d ' ' -f 1)" \
77 $(PANDOC_FILTERS) \ 78 $(PANDOC_FILTERS) \
78 -o "$@" "$<" 79 -o "$@" "$<"
79 80