blob: 41e0b1084d56be18bb1fb96b268235662c9fb4bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
.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 \
# 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 $@
|