summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-09 08:34:29 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-09 08:34:29 +0100
commited409e352330fa0015c423311963459a5992a385 (patch)
tree06c00fbe04e37e4fd0fa4f8f73ac98731beae851
parent387b94aa018368652b1e074abf3e7ac2a6b99cee (diff)
downloadsksys-ed409e352330fa0015c423311963459a5992a385.tar.gz
sksys-ed409e352330fa0015c423311963459a5992a385.tar.bz2
sksys-ed409e352330fa0015c423311963459a5992a385.zip
Makefile: Add rule to use a2x (which uses docbook)
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c832195..bdbe539 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,7 @@
+DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0"
+
document.tex: document.asciidoc
asciidoc --backend=latex $<
+
+document.pdf: document.asciidoc
+ a2x -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<