From 098a45f62eb40763d8e84fb04b1d4feca910f30b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Jun 2008 18:37:48 +0000 Subject: Fix building w/o doxygen maybe for real this time. git-svn-id: http://svn.drobilla.net/lad/slv2@1252 a436a847-0d15-0410-975c-d299462d15a1 --- configure.ac | 2 +- doc/Makefile.am | 8 +++++--- 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 -- cgit v1.2.1