summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2013-01-09 09:33:29 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2013-01-09 09:33:29 +0100
commit707e8d657375fdec574310ec070fd25193454a32 (patch)
tree6f0dda7bf7913c00ec63628be765ff5b1d8b702a /Makefile
parent3552427a32f426464b7e940ac57d961231b2f89b (diff)
downloadsksys-707e8d657375fdec574310ec070fd25193454a32.tar.gz
sksys-707e8d657375fdec574310ec070fd25193454a32.tar.bz2
sksys-707e8d657375fdec574310ec070fd25193454a32.zip
Add default building of pdf.
Diffstat (limited to 'Makefile')
-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}