Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
960e7ebc
Commit
960e7ebc
authored
Mar 10, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add pdf and svg output to the distribution
to remove the dependency on graphviz when building from a tarball
parent
c1ae9a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
13 deletions
+24
-13
Makefile.am
doc/graphviz/Makefile.am
+24
-13
No files found.
doc/graphviz/Makefile.am
View file @
960e7ebc
...
...
@@ -20,9 +20,10 @@ dist-hook:
# this is a4, letter is 8.5,11
SIZE
=
8.4,11.7
EXTRA_DIST
=
$(srcdir)
/
*
.dot
EXTRA_DIST
=
$(srcdir)
/
*
.dot
\
$(PDFS)
\
$(SVGS)
if
HAVE_DOT
PDFS
=
\
cache_http1_fsm.pdf
\
cache_req_fsm.pdf
\
...
...
@@ -33,33 +34,43 @@ SVGS = \
cache_req_fsm.svg
\
cache_fetch.svg
if
HAVE_DOT
CLEANFILES
=
\
$(PDFS)
\
$(SVGS)
endif
pdf
:
$(PDFS)
html
:
$(SVGS) link_srcdir
# XXX does not fit onto a4 unless in landscape
cache_fetch.pdf
:
cache_fetch.dot
if
!
HAVE_DOT
@
echo
==================================================
@echo
You
need
graphviz
installed
to
generate
pdf
output
@
echo
==================================================
@false
else
@DOT@
-Tpdf
-Gsize
=
$(SIZE)
-Grotate
=
90
$<
>
$@
endif
html
:
$(SVGS) link_srcdir
%.pdf
:
%.dot
if
!
HAVE_DOT
@
echo
==================================================
=
@echo
You
need
graphviz
installed
to
generate
html
output
@
echo
==================================================
=
@
echo
==================================================
@echo
You
need
graphviz
installed
to
generate
pdf
output
@
echo
==================================================
@false
endif
# XXX does not fit onto a4 unless in landscape
cache_fetch.pdf
:
cache_fetch.dot
@
DOT@
-Tpdf
-Gsize
=
$(SIZE)
-Grotate
=
90
$<
>
$@
%.pdf
:
%.dot
else
@DOT@
-Tpdf
-Gsize
=
$(SIZE)
$<
>
$@
endif
%.svg
:
%.dot
if
!
HAVE_DOT
@
echo
===================================================
@echo
You
need
graphviz
installed
to
generate
svg
output
@
echo
===================================================
@false
else
@DOT@
-Tsvg
$<
>$@
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment