From c87fa6dede65ab180d8f5cc396d9039882d0baad Mon Sep 17 00:00:00 2001 From: Chris Luke Date: Fri, 9 Sep 2016 17:51:42 -0400 Subject: On Ubuntu check for graphviz system config - Sometimes it seems Ubuntu doesn't always set up the Graphviz handler config. If it's missing, generate it. Change-Id: I2c1e566817de8415f8b360c6f967cd76307a2a52 Signed-off-by: Chris Luke --- doxygen/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doxygen') diff --git a/doxygen/Makefile b/doxygen/Makefile index b75c9c6bdb3..ef52c493020 100644 --- a/doxygen/Makefile +++ b/doxygen/Makefile @@ -113,6 +113,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 -- cgit 1.2.3-korg