diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-21 15:19:15 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-21 15:19:15 +0200 |
commit | c93ad4a81d0c7daab9fab3d19d56b130129b65d3 (patch) | |
tree | a90f656bd04de7ede5030138d0275b9d7f2e2d83 /Makefile | |
parent | 60c4449e6f0e98f76e1d428efb7f3f14c492fed5 (diff) | |
download | website-c93ad4a81d0c7daab9fab3d19d56b130129b65d3.tar.xz |
Makefile: add templates as dependency of pages
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ HTML := index.html journal.html about.html CSS := style.css journal/isso.css RESOURCES := glider.png +TEMPLATES := $(shell find src/templates) FILES := $(HTML) $(CSS) sitemap.xml pgp-key.txt \ $(addprefix resources/, $(RESOURCES)) @@ -13,15 +14,15 @@ build/%/: clean: -rm -r $(addprefix build/, $(FILES)) build/journal.xml build/journal build/resources -build/index.html: src/index.rst +build/index.html: src/index.rst $(TEMPLATES) @./scripts/bupa index.html @echo Built index.html -build/about.html: src/about.rst +build/about.html: src/about.rst $(TEMPLATES) @./scripts/bupa about.html @echo Built about.html -build/journal.html: $(shell find src/journal) +build/journal.html: $(shell find src/journal) $(TEMPLATES) @./scripts/bupa journal.html @echo Built journal |