summaryrefslogtreecommitdiff
path: root/qpid/cpp/docs
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/docs')
-rw-r--r--qpid/cpp/docs/api/Makefile.am4
-rw-r--r--qpid/cpp/docs/man/Makefile.am6
2 files changed, 10 insertions, 0 deletions
diff --git a/qpid/cpp/docs/api/Makefile.am b/qpid/cpp/docs/api/Makefile.am
index bde8b5fa3d..3b9c7648e0 100644
--- a/qpid/cpp/docs/api/Makefile.am
+++ b/qpid/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/qpid/cpp/docs/man/Makefile.am b/qpid/cpp/docs/man/Makefile.am
index c8df4eab6a..efc690050c 100644
--- a/qpid/cpp/docs/man/Makefile.am
+++ b/qpid/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