From 2f9261ca9f38b80b615424670de9d05d1ee6722e Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 12 Nov 2012 12:14:16 +0100 Subject: doc: Move Makefile to BSDmakefile --- doc/BSDmakefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/BSDmakefile (limited to 'doc/BSDmakefile') diff --git a/doc/BSDmakefile b/doc/BSDmakefile new file mode 100644 index 0000000..1e8882b --- /dev/null +++ b/doc/BSDmakefile @@ -0,0 +1,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 -- cgit