diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
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 '$<' |