Commit 5772d3cf authored by Nils Goroll's avatar Nils Goroll

bail out with a clear error if graphviz is missing for building the html and pdf targets

parent d36df31c
......@@ -21,7 +21,6 @@ dist-hook:
SIZE = 8.4,11.7
if HAVE_DOT
PDFS = \
cache_http1_fsm.pdf \
cache_req_fsm.pdf \
......@@ -31,11 +30,22 @@ SVGS = \
cache_http1_fsm.svg \
cache_req_fsm.svg \
cache_fetch.svg
endif
pdf: $(PDFS)
if ! HAVE_DOT
@echo ==================================================
@echo You need graphviz installed to generate pdf output
@echo ==================================================
@false
endif
html: $(SVGS) link_srcdir
if ! HAVE_DOT
@echo ===================================================
@echo You need graphviz installed to generate html output
@echo ===================================================
@false
endif
# XXX does not fit onto a4 unless in landscape
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment