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