summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: 1e8882bd35a4c66f42eeadfd543a7203f53392b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
IMAGES!=ls image/*.dia
DELFILES!=find . \( -name '*.svg' -o -name '*.html' \)

.PHONY: all images up
all: images presentation.html

.for f in ${IMAGES}
${f:S/.dia$/.svg/}:
	@dia --export=$@ --filter=svg $f
.endfor

images: ${IMAGES:S/.dia$/.svg/}

presentation.html: presentation.asciidoc
	asciidoc -b slidy presentation.asciidoc

clean:
	rm -f ${DELFILES}

up: all
	scp -r image presentation.html klemkow.net:www/wbs