summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am8
2 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index f916a55..1bde2f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -178,7 +178,7 @@ AM_CONDITIONAL(WITH_JACK, [test "$build_jack" = "yes"])
# 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 fdb1ef9..74a7c4b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -7,14 +7,16 @@ dist_man_MANS = \
man/man3/slv2_world.3
if HAVE_DOXYGEN
- man_MANS = $(dist_man_MANS)
+man_MANS = $(dist_man_MANS)
+all: docs
else
- man_mans =
+man_mans =
+all:
endif
EXTRA_DIST = mainpage.dox reference.doxygen.in $(man_MANS)
-all: docs
+
%.3:
make docs