[master] 7a41c54 generate svgs
Nils Goroll
nils.goroll at uplex.de
Mon Oct 13 17:19:08 CEST 2014
commit 7a41c54502ce968778c219535c7e95ee25eee515
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Oct 13 14:00:35 2014 +0200
generate svgs
diff --git a/.gitignore b/.gitignore
index 516380e..5795c63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,6 +100,7 @@ cscope.*out
/doc/sphinx/include/vcl_var.rst
# graphviz-generated
/doc/graphviz/*.pdf
+/doc/graphviz/*.svg
# NetBeans insists on this
/nbproject/private/
diff --git a/doc/graphviz/Makefile.am b/doc/graphviz/Makefile.am
index 6280eab..3823fab 100644
--- a/doc/graphviz/Makefile.am
+++ b/doc/graphviz/Makefile.am
@@ -12,9 +12,23 @@ PDFS = \
cache_req_fsm.pdf \
cache_fetch.pdf
+SVGS = \
+ cache_http1_fsm.svg \
+ cache_req_fsm.svg \
+ cache_fetch.svg
+
pdf: $(PDFS)
+html: $(SVGS)
+
endif
+# XXX does not fit onto a4 unless in landscape
+cache_fetch.pdf: cache_fetch.dot
+ @DOT@ -Tpdf -Gsize=$(SIZE) -Grotate=90 $< >$@
+
%.pdf: %.dot
@DOT@ -Tpdf -Gsize=$(SIZE) $< >$@
+
+%.svg: %.dot
+ @DOT@ -Tsvg $< >$@
diff --git a/doc/graphviz/cache_fetch.dot b/doc/graphviz/cache_fetch.dot
index db292f0..1daf76f 100644
--- a/doc/graphviz/cache_fetch.dot
+++ b/doc/graphviz/cache_fetch.dot
@@ -1,7 +1,6 @@
digraph cache_fetch {
margin="0.5"
center="1"
- rotate=90
/*** cache_fetch.c ***/
subgraph cluster_backend {
More information about the varnish-commit
mailing list