summaryrefslogtreecommitdiff
path: root/cpp/docs
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-26 22:18:27 +0000
committerAlan Conway <aconway@apache.org>2008-05-26 22:18:27 +0000
commit2713155352d200a0c7fdcdda07ac1154776f4b93 (patch)
tree033e0ffb89936787128637f98eecc132f71b2923 /cpp/docs
parent42bac9eab5cc800807a3fa2d8e6c30d5888b209e (diff)
downloadqpid-python-2713155352d200a0c7fdcdda07ac1154776f4b93.tar.gz
Make help2man and doxygen dependencies optional.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/docs')
-rw-r--r--cpp/docs/api/Makefile.am4
-rw-r--r--cpp/docs/man/Makefile.am6
2 files changed, 10 insertions, 0 deletions
diff --git a/cpp/docs/api/Makefile.am b/cpp/docs/api/Makefile.am
index bde8b5fa3d..3b9c7648e0 100644
--- a/cpp/docs/api/Makefile.am
+++ b/cpp/docs/api/Makefile.am
@@ -6,6 +6,8 @@
# TODO aconway 2007-04-12: html should have a
# dependency on source/header files.
+if HAVE_DOXYGEN
+
EXTRA_DIST = html user.doxygen developer.doxygen html.timestamp
html: html.timestamp
@@ -16,3 +18,5 @@ html.timestamp:
clean-local:
rm -rf html html-dev html.timestamp
+
+endif
diff --git a/cpp/docs/man/Makefile.am b/cpp/docs/man/Makefile.am
index c8df4eab6a..efc690050c 100644
--- a/cpp/docs/man/Makefile.am
+++ b/cpp/docs/man/Makefile.am
@@ -1,3 +1,5 @@
+if HAVE_HELP2MAN
+
dist_man_MANS = qpidd.1
man_aux = $(dist_man_MANS:.1=.x)
@@ -18,3 +20,7 @@ SUFFIXES = .x .1
$(HELP2MAN) --no-info --include=$(srcdir)/$*.x --output=$@-t ../../src/$*
@chmod a-w $@-t
@mv $@-t $@
+
+CLEANFILES=qpidd.1
+
+endif