summaryrefslogtreecommitdiff
path: root/docs/src/images/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/images/Makefile')
-rw-r--r--docs/src/images/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/src/images/Makefile b/docs/src/images/Makefile
new file mode 100644
index 00000000..20a41d1f
--- /dev/null
+++ b/docs/src/images/Makefile
@@ -0,0 +1,12 @@
+.PHONY: all
+
+sources = \
+ type_hierarchy.dot
+
+all: $(sources:%.dot=%.svg) $(sources:%.dot=%.png)
+
+%.svg: %.dot
+ dot -Tsvg $< -o $@
+
+%.png: %.dot
+ dot -Tpng $< -o $@