summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 5c9e7f4..2b5e91f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,6 +1,9 @@
+DIA_IMAGES!=ls image/*.dia
+SVG_IMAGES=${DIA_IMAGES:S/dia$/svg/}
+
.PHONY: all clean
-all: documentation.pdf presentation.html
+all: ${SVG_IMAGES} documentation.pdf presentation.html
clean:
rm -rf documentation.pdf
@@ -9,5 +12,9 @@ clean:
.txt.html:
asciidoc --backend=slidy $<
+.SUFFIXES: .dia .svg
+.dia.svg:
+ dia --export=$@ --filter=svg $<
+
include asciidoc-boilerplate/thesis.mk