]> git.proxmox.com Git - pve-docs.git/blobdiff - images/Makefile
add framework to generate network graphs using graphviz
[pve-docs.git] / images / Makefile
diff --git a/images/Makefile b/images/Makefile
new file mode 100644 (file)
index 0000000..f6e210e
--- /dev/null
@@ -0,0 +1,12 @@
+
+all:
+
+%.tmp.dot: %.tt pve_network_templates.tt
+       tpage $*.tt >$*.tmp.dot
+
+%.svg: %.tmp.dot
+       dot $*.tmp.dot -T svg -o $*.svg
+
+
+clean:
+       rm -f *.tmp.dot