diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2013-01-07 09:31:22 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2013-01-07 09:31:22 +0100 |
commit | 26f138d5d6f63f580e5a76cc04b5e668cfc73cbe (patch) | |
tree | ddb88e12ecc4193fee86431a76c18edc4518f32c /Makefile | |
parent | 619a4238c646d2cf46b7eaa00ed4e8ec896f9ca5 (diff) | |
download | sksys-26f138d5d6f63f580e5a76cc04b5e668cfc73cbe.tar.gz sksys-26f138d5d6f63f580e5a76cc04b5e668cfc73cbe.tar.bz2 sksys-26f138d5d6f63f580e5a76cc04b5e668cfc73cbe.zip |
wip
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,9 +1,9 @@ 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/} +GenSVG=${IMAGES:S/.dia$/.svg/} .PHONY: all clean up -all: document.html presentation.html +all: ${GenSVG} document.html presentation.html .SUFFIXES: .asciidoc .html presentation.html: presentation.asciidoc @@ -13,19 +13,19 @@ presentation.html: presentation.asciidoc asciidoc --out-file=$@ --backend=html $< .SUFFIXES: .asciidoc .tex -.tex.asciidoc: +.asciidoc.tex: asciidoc --backend=latex $< .SUFFIXES: .asciidoc .pdf -.pdf.asciidoc: +.asciidoc.pdf: a2x -f pdf --dblatex-opts=$(DBLATEX_OPTS) $< .SUFFIXES: .dia .svg -image/%.svg: image/%.dia - dia --export=$@ --filter=svg $< +.dia.svg: + @dia --export=$@ --filter=svg $< up: document.html - scp $< klemkow.net:www + scp document.html presentation.html klemkow.net:www clean: - rm -f document.html + rm -f document.html presentation.html ${GenSVG} |