summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: 0a5d118608f9e1a2557df3137b4cdaa675e03bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: images presentation.html

IMAGES_PGM=$(wildcard ../src/img/*.pgm)
IMAGES_PNG=$(IMAGES_PGM:.pgm=.png)

.SUFFIXES: .dia .svg
.SUFFIXES: .pgm .png

.dia.svg:
	dia --export=$@ --filter=svg $<

.pgm.png:
	convert $< $@
#	inkscape --without-gui --export-png=$@.png -h 1024 $@

presentation.html: presentation.asciidoc
	asciidoc --backend slidy presentation.asciidoc

images: image/film.svg $(IMAGES_PNG)

clean:
	rm -f presentation.html