blob: 5de927dbff5b3abfe2a29a1085d155a2856623b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
sources = $(wildcard *.mdwn)
outputs = manual.pdf manual.html
all: $(outputs)
manual.pdf: Makefile $(sources)
pandoc --smart --toc --chapters --number-sections \
-o manual.pdf $(sources)
manual.html: Makefile $(sources)
pandoc -H manual.css --smart --toc --chapters --number-sections \
--standalone \
--self-contained \
-o manual.html $(sources)
clean:
rm -f manual.pdf manual.html
publish: $(outputs)
rsync $(outputs) code.liw.fi:code.liw.fi/obnam/manual/.
|