Signed-off-by: Anders Roxell <[email protected]>
---
configure.ac | 2 ++
doc/Makefile.am | 3 +++
2 files changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index bc7fdac..377e8be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,6 +123,8 @@ if test -z "$DOXYGEN";
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
fi
+AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"])
+
##########################################################################
# Set optional OpenSSL path
##########################################################################
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 67727e1..8b894d3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,5 @@
+if HAVE_DOXYGEN
+
noinst_docdatadir = ${datadir}/doc
noinst_imagedir = ${datadir}/doc/images
noinst_usersguidedir = ${datadir}/doc/users-guide
@@ -21,3 +23,4 @@ dist_noinst_usersguide_DATA = ${noinst_usersguide_DATA}
clean-local:
rm -rf $(DX_DOCDIR)
+endif
--
2.1.0
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp