Generate man pages for applications with help2man.

parent 64141d10
......@@ -9,6 +9,7 @@ Build-Depends: debhelper (>= 7.0.50),
g++ (>= 3.3.0),
ccache,
doxygen,
help2man,
libgif-dev,
libjpeg-dev,
libtiff-dev,
......
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH OpenSceneGraph 1 "2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
OpenSceneGraph-applications \- set of applications program
.SH SYNOPSIS
.B program
.RI \-\-help
.SH DESCRIPTION
Use \-\-help to figure out what the example does.
See http://www.openscenegraph.org/ for more information.
.SH AUTHOR
This manual page was written by Loic Dachary <loic@gnu.org>
for the Debian project (but may be used by others).
......@@ -212,10 +212,10 @@ MANAPPLICATIONS = \
osgconv.1 \
osgversion.1 \
osgfilecache.1 \
osgarchive.1
osgarchive.1 \
osg2cpp.1
MANEXAMPLES = \
osg2cpp.1 \
osganimate.1 \
osganimationhardware.1 \
osganimationmakepath.1 \
......@@ -387,12 +387,13 @@ install-arch: build-arch
dh_testdir
dh_testroot
# Before installation so the binaries still have rpath set.
for man in ${MANAPPLICATIONS} ; do rm -f $$man ; help2man -N --version-string="$(VERSION)" -S OpenSceneGraph $(CURDIR)/build/osg/bin/$${man%.1} > $$man ; done
# Add here commands to install the package into debian/tmp
mkdir -p $(CURDIR)/debian/tmp/usr
$(MAKE) -C build/osg DESTDIR=$(CURDIR)/debian/tmp install
-mv $(CURDIR)/debian/tmp/usr/share/OpenSceneGraph/bin/* $(CURDIR)/debian/tmp/usr/bin
for man in ${MANEXAMPLES} ; do rm -f $$man ; ln -s debian/osgexamples.1 $$man ; done
for man in ${MANAPPLICATIONS} ; do rm -f $$man ; ln -s debian/osgapplications.1 $$man ; done
# Build architecture-independent files here.
binary-indep: install-indep
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment