]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installman
Fix typo: s/notmally/normally
[debhelper.git] / dh_installman
index 30168cb28fe778bcfa0a4b94bb351207c9ef32b1..8487f100776f295861148a84a8418a8e8f00c77d 100755 (executable)
@@ -55,6 +55,8 @@ L<manconv(1)> for details.
 
 Lists man pages to be installed.
 
+=back
+
 =head1 OPTIONS
 
 =over 4
@@ -165,7 +167,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        $destdir="$tmp/usr/share/man/$langcode/man$realsection/";
                }
                $destdir=~tr:/:/:s; # just for looks
-               my $instpage="$destdir/$instname.$section";
+               my $instpage="$destdir$instname.$section";
 
                next if -l $instpage;
                next if compat(5) && -e $instpage;
@@ -183,7 +185,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        # Now the .so conversion.
        @sofiles=@sodests=();
-       foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
+       foreach my $dir (qw{usr/share/man}) {
                if (-e "$tmp/$dir") {
                        find(\&find_so_man, "$tmp/$dir");
                }
@@ -195,7 +197,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
 
        # Now utf-8 conversion.
-       foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
+       foreach my $dir (qw{usr/share/man}) {
                if (-e "$tmp/$dir") {
                        find(sub {
                                return if ! -f $_ || -l $_;