summaryrefslogtreecommitdiff
path: root/cpp/docs/man/Makefile.am
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-30 11:25:43 +0000
committerGordon Sim <gsim@apache.org>2010-06-30 11:25:43 +0000
commitbd67d8d00a4efde84e19bfbedd794b8e59d6e554 (patch)
tree0264b200fdcfd0ae79d1fe945a80bedd9ca9965a /cpp/docs/man/Makefile.am
parenteded648d89a04f4c185ed97aa13d598e4886912f (diff)
downloadqpid-python-bd67d8d00a4efde84e19bfbedd794b8e59d6e554.tar.gz
Added sed based alternative to help2man to ensure that a reasonable man page is produced in all cases
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/docs/man/Makefile.am')
-rw-r--r--cpp/docs/man/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/docs/man/Makefile.am b/cpp/docs/man/Makefile.am
index cb13a16e4f..14295f73bf 100644
--- a/cpp/docs/man/Makefile.am
+++ b/cpp/docs/man/Makefile.am
@@ -19,7 +19,7 @@
dist_man_MANS = qpidd.1
man_aux = $(dist_man_MANS:.1=.x)
-EXTRA_DIST = $(man_aux)
+EXTRA_DIST = $(man_aux) generate_manpage groffify_options.sed groffify_template.sed
DISTCLEANFILES = $(dist_man_MANS)
CLEANFILES=qpidd.1
@@ -40,8 +40,8 @@ qpidd.1: $(srcdir)/qpidd.x $(top_builddir)/src/qpidd
@mv $@-t $@
else
qpidd.1:
- @echo "Warning: help2man not available, man page lacks options."
- @cp $(srcdir)/qpidd.x $@
+ @echo "Warning: help2man not available, using sed script instead."
+ $(srcdir)/generate_manpage $(srcdir)/qpidd.x $(top_builddir)/src/qpidd $@
endif