summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2d982d4..bdbe539 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,7 @@
-document.txt: document.asciidoc
- asciidoc --backend=latex $>
+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) $<