From 9df8021872ed488d0e5566fea38cbc41e847e867 Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Sat, 10 Nov 2012 15:36:05 +0100 Subject: Add build system for presentation and images. --- doc/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/Makefile (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..b5d0c24 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,18 @@ +IMAGES!=ls image/*.dia +DELFILES!=find . \( -name '*.svg' -o -name '*.html' \) + +.PHONY: all images +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} -- cgit