From 707e8d657375fdec574310ec070fd25193454a32 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Wed, 9 Jan 2013 09:33:29 +0100 Subject: Add default building of pdf. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') 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} -- cgit