aboutsummaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.com>2017-02-02 21:33:09 +0100
committerMarco Varlese <marco.varlese@suse.com>2017-02-02 21:33:09 +0100
commit85bb9172894870f0c6c72e1555a0decf4d37213f (patch)
treebcdcabf574786b02169d593cc9fd57264c8bb6ac /doxygen
parent2d23eca3e583cc3408d4fafc3aae6fe5b1109e55 (diff)
Added support for openSUSE
Change-Id: I64a0eeaa066adb70dfaeb33641d0336ddac18cf0 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
Diffstat (limited to 'doxygen')
-rw-r--r--doxygen/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile
index 640acc26328..069d97fb864 100644
--- a/doxygen/Makefile
+++ b/doxygen/Makefile
@@ -35,6 +35,7 @@ OS_ID ?= $(shell grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
# Package dependencies
DOC_DEB_DEPENDS = doxygen graphviz python-pyparsing python-jinja2
DOC_RPM_DEPENDS = doxygen graphviz pyparsing python-jinja2
+DOC_SUSE_RPM_DEPENDS = doxygen graphviz python-pyparsing python-Jinja2
DOC_MAC_BIN_DEPENDS = doxygen dot git
DOC_MAC_PY_DEPENDS = pyparsing jinja2
@@ -159,8 +160,10 @@ else ifeq ($(OS_ID),darwin)
false; \
); \
done
+else ifeq ($(OS_ID),opensuse)
+ @sudo zypper install $(CONFIRM) $(DOC_SUSE_RPM_DEPENDS)
else
- $(error "Building documentation currently works only on Ubuntu, CentOS or MacOS systems.")
+ $(error "Building documentation currently works only on Ubuntu, CentOS, MacOS and OpenSUSE systems.")
endif
@touch $@