summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile18
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}