summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-28 23:40:17 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-28 23:40:17 +0000
commitccc4926813482545ea47e85e8d134d504c68f3e7 (patch)
tree31ac476eeb820e19f00dc3ff5702e8ef40454588 /doc/Makefile.am
parent893d859ed4ab785f46485fad28779f026fa166a1 (diff)
2003-04-28 Havoc Pennington <hp@redhat.com>
* 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
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am6
1 files changed, 3 insertions, 3 deletions
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)