summaryrefslogtreecommitdiff
path: root/Makefile
blob: 484479d8f45d129b66e5b2a261999e2657edef94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0"

.PHONY: all clean

all: document.html

document.html: document.asciidoc
	asciidoc --backend=html $<

document.tex: document.asciidoc
	asciidoc --backend=latex $<

document.pdf: document.asciidoc
	a2x -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<

clean:
	rm -f document.html