aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Luke <chrisy@flirble.org>2016-09-09 17:51:42 -0400
committerChris Luke <chrisy@flirble.org>2016-09-09 18:16:31 -0400
commit331f1a8eac06f71adec995ba57c1cc5d0c84d883 (patch)
tree05f364005112f32e79d60dd2e2dd2ddaec17f75f
parent73a52de862b2e68c2518ae2b4ede5b4aa9190181 (diff)
On Ubuntu check for graphviz system config; VPP-396
- Sometimes it seems Ubuntu doesn't always set up the Graphviz handler config. If it's missing, generate it. https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/1349026 Change-Id: I2c1e566817de8415f8b360c6f967cd76307a2a52 Signed-off-by: Chris Luke <chrisy@flirble.org>
-rw-r--r--doxygen/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile
index 471b6fd7f15..895bc651696 100644
--- a/doxygen/Makefile
+++ b/doxygen/Makefile
@@ -87,6 +87,9 @@ ifeq ($(OS_ID),ubuntu)
dpkg-query --show $$i >/dev/null 2>&1 || inst="$$inst $$i"; \
done; \
if [ "$$inst" ]; then sudo apt-get $(CONFIRM) $(FORCE) install $$inst; fi
+ @if [ ! -f /usr/lib/graphviz/config6a ]; then \
+ sudo dot -c; \
+ fi
else ifneq ("$(wildcard /etc/redhat-release)","")
@sudo yum install $(CONFIRM) $(DOC_RPM_DEPENDS)
else