From ccc4926813482545ea47e85e8d134d504c68f3e7 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 28 Apr 2003 23:40:17 +0000 Subject: 2003-04-28 Havoc Pennington * configure.in: add --enable-docs which by default is auto yes if doxygen and db2html found, no otherwise; but can be forced on/off * doc/Makefile.am: conditionalize whether to build docs on --enable-docs --- doc/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index 5a3a0a28..5c2b6458 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -7,17 +7,17 @@ EXTRA_DIST= \ dcop-howto.txt \ file-boilerplate.c -if MAINTAINER_MODE +if DBUS_DOCS_ENABLED all-local: dbus-specification.html dbus-test-plan.html endif dbus-specification.html: dbus-specification.sgml - db2html -o . --nochunks dbus-specification.sgml && \ + $(DB2HTML) -o . --nochunks dbus-specification.sgml && \ rm -r dbus-specification/stylesheet-images && \ (if test -d dbus-specification ; then rmdir dbus-specification ; fi) dbus-test-plan.html: dbus-test-plan.sgml - db2html -o . --nochunks dbus-test-plan.sgml && \ + $(DB2HTML) -o . --nochunks dbus-test-plan.sgml && \ rm -r dbus-test-plan/stylesheet-images && \ (if test -d dbus-test-plan ; then rmdir dbus-test-plan ; fi) -- cgit