diff options
| author | Gordon Sim <gsim@apache.org> | 2006-12-08 12:53:21 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2006-12-08 12:53:21 +0000 |
| commit | 276f0e0d44d79db49da7d37de8b1575e0c179bca (patch) | |
| tree | d9609abb6b0cd0cea99fbdc335d8e71c303ed78c /cpp/man | |
| parent | a32fd67ab24d8524f77f314aa977dba10c0ed94f (diff) | |
| download | qpid-python-276f0e0d44d79db49da7d37de8b1575e0c179bca.tar.gz | |
Patch submitted to dev:
2006-12-08 Jim Meyering <meyering@redhat.com>
Automatically generate qpidd.1 from qpidd --help output.
* Makefile.am (SUBDIRS): Add man.
* configure.ac: Test for help2man.
* man/qpidd.x: New file.
* man/Makefile.am: New file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483973 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/man')
| -rw-r--r-- | cpp/man/Makefile.am | 18 | ||||
| -rw-r--r-- | cpp/man/qpidd.x | 5 |
2 files changed, 23 insertions, 0 deletions
diff --git a/cpp/man/Makefile.am b/cpp/man/Makefile.am new file mode 100644 index 0000000000..392633251e --- /dev/null +++ b/cpp/man/Makefile.am @@ -0,0 +1,18 @@ +dist_man_MANS = qpidd.1 + +man_aux = $(dist_man_MANS:.1=.x) $(optional_mans:.1=.x) +EXTRA_DIST = $(man_aux) $(optional_mans) +MAINTAINERCLEANFILES = $(dist_man_MANS) + +qpidd.1: $(srcdir)/qpidd.x $(top_srcdir)/src/qpidd.cpp + +# Depend on configure.ac to get version number changes. +$(dist_man_MANS): $(top_srcdir)/configure.ac + +SUFFIXES = .x .1 +.x.1: + @rm -f $@ + @echo "Updating man page $@" + $(HELP2MAN) --no-info --include=$(srcdir)/$*.x --output=$@-t ../src/$* + @chmod a-w $@-t + @mv $@-t $@ diff --git a/cpp/man/qpidd.x b/cpp/man/qpidd.x new file mode 100644 index 0000000000..e60505cc9c --- /dev/null +++ b/cpp/man/qpidd.x @@ -0,0 +1,5 @@ +[NAME] +qpidd \- the Qpid broker daemon + +[DESCRIPTION] +.\" Add any additional description here |
