blob: 58939b9e829975a1d3b84018a67a2fc1dabdfb5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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 --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/.
|