X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_installmanpages;h=2257517b0df0efb151cdb92ee85d2b93a8a8b1d6;hb=ec77e19bf7a20d35edadb2089c3632fca8f54ed3;hp=415c86b7a21ec63aaa5a24be4cba6f548269f8a2;hpb=4f162e192c3563d740490cc99ced1513104ac34c;p=debhelper.git diff --git a/dh_installmanpages b/dh_installmanpages index 415c86b..2257517 100755 --- a/dh_installmanpages +++ b/dh_installmanpages @@ -21,7 +21,8 @@ automatically installing man pages into usr/share/man/ and usr/X11R6/man/ in package build directories. This is a DWIM-style program, with an interface unlike the rest of -debhelper. You are encouraged to use L instead. +debhelper. It is deprecated, and you are encouraged to use +L instead. dh_installmanpages scans the current directory and all subdirectories for filenames that look like man pages. (Note that only real files are looked @@ -61,6 +62,8 @@ not be processed properly. =cut +warning("This program is deprecated, switch to dh_installman."); + init(); # Check if a file is a man page, for use by File::Find. @@ -153,10 +156,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if ($install) { my $extdir="share"; - # Handle X man pages specially. - if ($basename=~/x$/) { - $extdir="X11R6"; - } my ($section)=$basename=~m/.*\.([1-9])/;