summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bdbe539..484479d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,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