diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2013-01-06 00:02:31 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2013-01-06 00:02:31 +0100 |
commit | cb6c4345136b2c17f3349bf925f5a38dba34850b (patch) | |
tree | 8d470cac29f4db305fa79888cdaee172886db7c3 /Makefile | |
parent | d5e454dbb1895c10576834d652e5c93273a9c950 (diff) | |
download | sksys-cb6c4345136b2c17f3349bf925f5a38dba34850b.tar.gz sksys-cb6c4345136b2c17f3349bf925f5a38dba34850b.tar.bz2 sksys-cb6c4345136b2c17f3349bf925f5a38dba34850b.zip |
Modify Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -1,17 +1,31 @@ DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0" +IMAGES!=ls image/*.dia +GenSVG=${IMAGES:s/.dia/.svg/} -.PHONY: all clean +.PHONY: all clean up +all: document.html presentation.html -all: document.html +.SUFFIXES: .asciidoc .html +presentation.html: presentation.asciidoc + asciidoc --out-file=$@ --backend=slidy $< -document.html: document.asciidoc - asciidoc --backend=html $< +.asciidoc.html: + asciidoc --out-file=$@ --backend=html $< -document.tex: document.asciidoc +.SUFFIXES: .asciidoc .tex +.tex.asciidoc: asciidoc --backend=latex $< -document.pdf: document.asciidoc +.SUFFIXES: .asciidoc .pdf +.pdf.asciidoc: a2x -f pdf --dblatex-opts=$(DBLATEX_OPTS) $< +.SUFFIXES: .dia .svg +image/%.svg: image/%.dia + dia --export=$@ --filter=svg $< + +up: document.html + scp $< klemkow.net:www + clean: rm -f document.html |