update `Makefile`
parent
5aeb6d6749
commit
cba1b32d2c
4
Makefile
4
Makefile
|
@ -19,7 +19,7 @@ all: $(call getpages,$(notes))
|
||||||
hidden: notes := $(wildcard $(shell ls -t .*.md *.md))
|
hidden: notes := $(wildcard $(shell ls -t .*.md *.md))
|
||||||
hidden: all
|
hidden: all
|
||||||
|
|
||||||
public_html/%.html: %.md sitemap.json links.json
|
public_html/%.html: %.md sitemap.json links.json pandoc/templates/bavbavhaus.net.html5
|
||||||
$(eval deps := $(shell jq -r '.["$<"] | unique | join(" ")' links.json))
|
$(eval deps := $(shell jq -r '.["$<"] | unique | join(" ")' links.json))
|
||||||
$(if $(deps), $(MAKE) $(call getparts,$(deps)))
|
$(if $(deps), $(MAKE) $(call getparts,$(deps)))
|
||||||
pandoc \
|
pandoc \
|
||||||
|
@ -35,7 +35,7 @@ public_html/%.html: %.md sitemap.json links.json
|
||||||
|
|
||||||
# preserve `partials/%.html` intermediate files
|
# preserve `partials/%.html` intermediate files
|
||||||
.PRECIOUS: partials/%.html
|
.PRECIOUS: partials/%.html
|
||||||
partials/%.html: %.md | partials
|
partials/%.html: %.md pandoc/templates/bavbavhaus.net.inline.html5 | partials
|
||||||
pandoc \
|
pandoc \
|
||||||
--data-dir pandoc \
|
--data-dir pandoc \
|
||||||
--defaults bavbavhaus.net.yaml \
|
--defaults bavbavhaus.net.yaml \
|
||||||
|
|
Loading…
Reference in New Issue