blob: 0829762814bf0a1cf08b59a0db32d75b1f073156 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 up
all: document.html presentation.html
.SUFFIXES: .asciidoc .html
presentation.html: presentation.asciidoc
asciidoc --out-file=$@ --backend=slidy $<
.asciidoc.html:
asciidoc --out-file=$@ --backend=html $<
.SUFFIXES: .asciidoc .tex
.tex.asciidoc:
asciidoc --backend=latex $<
.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
|