summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2023-05-25 21:54:37 +0200
committerdzwdz2023-05-25 21:54:37 +0200
commita0a4920deaf4ca645cdfee45edf00e614369882f (patch)
tree6dc02a9f563769f02d1f70976ed18c230aca6f81 /Makefile
initial commit
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 $@