diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-10 15:36:05 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2012-11-10 15:36:05 +0100 |
commit | 9df8021872ed488d0e5566fea38cbc41e847e867 (patch) | |
tree | 42e5ec604a4acd63aaa834140ea0430c641aead6 /doc/Makefile | |
parent | 6c6e53985bbf4f2896c80d0b2efe01170a3779db (diff) | |
download | wbs-9df8021872ed488d0e5566fea38cbc41e847e867.tar.gz wbs-9df8021872ed488d0e5566fea38cbc41e847e867.tar.bz2 wbs-9df8021872ed488d0e5566fea38cbc41e847e867.zip |
Add build system for presentation and images.
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
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} |