summaryrefslogtreecommitdiff
path: root/manual/Makefile
blob: 53834511ece3ab156bbbf9830ef16102d38b448b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sources = $(wildcard *.mdwn)
outputs = manual.pdf manual.html

all: $(outputs)

manual.pdf: Makefile $(sources)
	pandoc --toc --chapters -o manual.pdf $(sources)

manual.html: Makefile $(sources)
	pandoc -H manual.css --toc --chapters --standalone \
		-o manual.html $(sources)

clean:
	rm -f manual.pdf manual.html

publish: $(outputs)
	rsync $(outputs) code.liw.fi:code.liw.fi/obnam/manual/.