summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am4
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e85cbc6..8e250db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,7 +161,7 @@ fi
# Build documentation
build_documentation="yes"
AC_ARG_ENABLE(documentation,
- [AS_HELP_STRING(--enable-documentation, [Build documentation (no)])],
+ [AS_HELP_STRING(--enable-documentation, [Build documentation (yes, if doxygen available)])],
[build_documentation="$enableval"])
if test "$build_documentation" = "yes"; then
AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5538803..a14175c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,10 @@
EXTRA_DIST = reference.doxygen.in mainpage.dox
+if HAVE_DOXYGEN
all: docs
+else
+all:
+endif
reference.doxygen: @RAUL_SRCDIR@/doc/reference.doxygen.in