From 61f2ac4f7cbe1e8864509e430757e21371ac2ac4 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 19 Jun 2020 10:07:31 +0200 Subject: Expand tools post --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 '$<' -- cgit v1.2.3-54-g00ecf