DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0 -P latex.class.options=a4paper,12pt,abstraction,titlepage -b xetex" .PHONY: all clean up all: ${GenSVG} document.html presentation.html document.pdf .SUFFIXES: .asciidoc .html presentation.html: presentation.asciidoc asciidoc --out-file=$@.tmp --backend=slidy $< sed -f fix-css.sed $@.tmp > $@ rm $@.tmp .asciidoc.html: asciidoc --out-file=$@ --backend=html $< .SUFFIXES: .asciidoc .tex .asciidoc.tex: asciidoc --backend=latex $< .SUFFIXES: .asciidoc .pdf document.pdf: document.asciidoc sksys.sty a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) --dblatex-opts="-s sksys.sty" $< .asciidoc.pdf: a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $< .SUFFIXES: .dia .svg .dia.svg: @dia --export=$@ --filter=svg $< up: document.html presentation.html scp -r document.html presentation.html image klemkow.net:www clean: rm -f document.html presentation.html document.pdf ${GenSVG}