summaryrefslogtreecommitdiff
path: root/doc/BSDmakefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-12 12:14:16 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-12 12:14:16 +0100
commit2f9261ca9f38b80b615424670de9d05d1ee6722e (patch)
tree23cc8fda5f70e951df8382567c68f4e410d21998 /doc/BSDmakefile
parentb4f288182f04aa190b77351f71664497fd1179e3 (diff)
downloadwbs-2f9261ca9f38b80b615424670de9d05d1ee6722e.tar.gz
wbs-2f9261ca9f38b80b615424670de9d05d1ee6722e.tar.bz2
wbs-2f9261ca9f38b80b615424670de9d05d1ee6722e.zip
doc: Move Makefile to BSDmakefile
Diffstat (limited to 'doc/BSDmakefile')
-rw-r--r--doc/BSDmakefile21
1 files changed, 21 insertions, 0 deletions
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