Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
generate svgs
Browse files Browse the repository at this point in the history
  • Loading branch information
nigoroll committed Oct 13, 2014
1 parent 9d70ce5 commit 7a41c54
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
14 changes: 14 additions & 0 deletions doc/graphviz/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 $< >$@
1 change: 0 additions & 1 deletion doc/graphviz/cache_fetch.dot
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
digraph cache_fetch {
margin="0.5"
center="1"
rotate=90

/*** cache_fetch.c ***/
subgraph cluster_backend {
Expand Down

0 comments on commit 7a41c54

Please sign in to comment.