summaryrefslogtreecommitdiff
path: root/doc/images/Makefile
diff options
context:
space:
mode:
authorSchuyler Eldridge2019-09-25 15:18:18 -0400
committerSchuyler Eldridge2019-09-25 15:22:51 -0400
commit8efe7c925c78f3393cb3cf658e7c5d8416aa731e (patch)
tree243a125171ffbc47d2002e5c303277cb07ade085 /doc/images/Makefile
parent9ea198e779eb32fa1b43a771e3b70d2b38063280 (diff)
Add graphviz type hierarchy with built svg/png
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'doc/images/Makefile')
-rw-r--r--doc/images/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/images/Makefile b/doc/images/Makefile
new file mode 100644
index 00000000..20a41d1f
--- /dev/null
+++ b/doc/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 $@