summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ab0fde1..03b9cea 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ IMAGES!=ls image/*.dia
GenSVG=${IMAGES:S/.dia$/.svg/}
.PHONY: all clean up
-all: ${GenSVG} document.html presentation.html
+all: ${GenSVG} document.html document.pdf presentation.html
.SUFFIXES: .asciidoc .html
presentation.html: presentation.asciidoc
@@ -20,7 +20,10 @@ presentation.html: presentation.asciidoc
.SUFFIXES: .asciidoc .pdf
document.pdf: document.asciidoc sksys.sty
- a2x -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
+ a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
+
+.asciidoc.pdf:
+ a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
.SUFFIXES: .dia .svg
.dia.svg:
@@ -30,4 +33,4 @@ up: document.html presentation.html
scp -r document.html presentation.html image klemkow.net:www
clean:
- rm -f document.html presentation.html ${GenSVG}
+ rm -f document.html presentation.html document.pdf ${GenSVG}