summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..46919a4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+.PHONY: all
+all: out/index.html out/feed.ass out/feed.atom
+
+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 $@