summaryrefslogtreecommitdiff
path: root/doc/BSDmakefile
diff options
context:
space:
mode:
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