diff options
author | joey <joey> | 2001-02-09 23:13:53 +0000 |
---|---|---|
committer | joey <joey> | 2001-02-09 23:13:53 +0000 |
commit | 7f94f1760a87781615730ae5daf9b6b58a7feaf9 (patch) | |
tree | f4e87a742fb7798eed9d5f4bd8f16c22eaca4268 /dh_installman | |
parent | 3560a26af72470982137705ff8ab701217416242 (diff) | |
download | debhelper-7f94f1760a87781615730ae5daf9b6b58a7feaf9.tar.gz |
r432: more podization, will it ever end?
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 71 |
1 files changed, 68 insertions, 3 deletions
diff --git a/dh_installman b/dh_installman index 03e5e9f7..15c20e5e 100755 --- a/dh_installman +++ b/dh_installman @@ -1,11 +1,64 @@ #!/usr/bin/perl -w -# -# Reads debian/manpages, installs all man pages there into appropriate -# man page directory tree. + +=head1 NAME + +dh_installman - install man pages into package build directories + +=cut use strict; use File::Find; use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + + dh_installman [debhelper options] [manpage ...] + +=head1 DESCRIPTION + +dh_installman is a debhelper program that is responsible for installing +man pages into the correct locations in package build directories. You tell +it what man pages go in your package(s), and it figures out where to +install them based on the section field in their .TH line and their filename +extention. + +Any man page filenames specified as parameters will be installed into the +first package dh_installman is told to act on. By default, this is the +first binary package in debian/control, but if you use -p, -i, or -a flags, +it will be the first package specified by those flags. + +Files named debian/package.manpages can list other man pages to be +installed. + +After the man page installation step, dh_installman will check to see if +any of the man pages in the temporary directories of any of the packages it +is acting on contain ".so" links. If so, it changes them to symlinks. + +=head1 OPTIONS + +=over 4 + +=item B<-A>, B<--all> + +Install all files specified by command line parameters in ALL packages +acted on. + +=item I<manpage ...> + +Install these man pages into the first package acted on. (Or in all +packages if -A is specified). + +=back + +=head1 NOTES + +An older version of this program, L<dh_installmanpages(1)>, is still used +by some packages, and so is still included in debhelper. +It is, however, deprecated, due to its counterintuiitive and inconsistent +interface. Use this program instead. + +=cut + init(); foreach my $package (@{$dh{DOPACKAGES}}) { @@ -127,3 +180,15 @@ sub find_so_man { push @sodests,$solink; } } + +=head1 SEE ALSO + +L<debhelper(1)> + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess <joeyh@debian.org> + +=cut |