From afb46e5bfeae9a458f40e37dc1d22beab466f841 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/raul@1252 a436a847-0d15-0410-975c-d299462d15a1 --- configure.ac | 2 +- doc/Makefile.am | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1