.PHONY: all posts index all: posts index index: out/index.html out/feed.ass out/feed.atom posts: \ out/feeds.html \ out/our.html \ out/tui.html \ out/python_recursion.html \ # posts end out/index.html: src/index.sh src/feed.ass sh $^ > $@ out/feed.ass: src/feed.ass cp $< $@ out/feed.atom: src/feed.ass src/atom.sh sh src/atom.sh < $< > $@ out/%.html: src/%.md src/tmpl.html pandoc --template src/tmpl.html $< -o $@