diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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} |