@@ -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
##########################################################################
@@ -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
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- configure.ac | 2 ++ doc/Makefile.am | 3 +++ 2 files changed, 5 insertions(+)