diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -62,7 +62,7 @@ subpages = $(patsubst content/%.md,.cache/meta/%.json, \ | |||
62 | -o "$@" "$<" | 62 | -o "$@" "$<" |
63 | rm "$(PAGES)" | 63 | rm "$(PAGES)" |
64 | 64 | ||
65 | out/%.html: content/%.md .cache/meta/%.json $(TEMPLATES_SRC) metadata/*.yaml filters/*.lua scripts/metadata_filter.lua | out | 65 | out/%.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 | ||