summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-06-19 10:07:31 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-06-19 10:07:31 +0200
commit61f2ac4f7cbe1e8864509e430757e21371ac2ac4 (patch)
tree5c5196eb131638866d97f788c6f2c99d6ab45b0d /Makefile
parentafe42d9600842ba565cf66c043cd11b8ff0a7d1b (diff)
Expand tools post
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1b4cb10
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+POSTS = $(filter-out $$template.html %.rendered.html,$(wildcard *.html **/*.html))
+RENDERED = $(POSTS:.html=.rendered.html)
+
+.PHONY: all clean
+
+all: $(RENDERED)
+
+clean:
+ rm -f $(RENDERED)
+
+
+%.rendered.html: %.html $$template.html .tools/render.sh
+ .tools/render.sh '$<'