summaryrefslogtreecommitdiff
path: root/cpp/docs/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/docs/man/Makefile.am')
-rw-r--r--cpp/docs/man/Makefile.am6
1 files changed, 6 insertions, 0 deletions
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