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 '$<'