summaryrefslogtreecommitdiffstats
path: root/www/GNUmakefile
blob: f5c2e0cd4ce1e1c873266c56822dd3bcb2effa8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: index.html muchsync.html logo.png

CSS = https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css \
        local.css

PANDOC = pandoc -S -s -t html5 --template=template.html \
	$(patsubst %, --css=%, $(CSS))

DEPS = template.html GNUmakefile

index.html: index.md $(DEPS)
	$(PANDOC) -Vskiptitle:1 -o $@ $<

muchsync.html: ../muchsync.1.md $(DEPS)
	$(PANDOC) -o $@ $<

logo.png: logo.svg GNUmakefile
	inkscape -e $@ $<

clean:
	rm -f *~ index.html muchsync.html