Don't install test pods.
Jarkko Hietaniemi [Sun, 7 Jul 2002 18:48:06 +0000 (18:48 +0000)]
p4raw-id: //depot/perl@17408

installman

index 360d4f3..2260c26 100755 (executable)
@@ -139,6 +139,7 @@ sub pod2man {
        my $tmp;
        # Skip .pm files that have corresponding .pod files, and Functions.pm.
        next if (($tmp = $mod) =~ s/\.pm$/.pod/ && -f $tmp);
+       next if $mod =~ m:/t/:; # no pods from test directories 
        next if ($manpage eq 'Pod/Functions.pm'); #### Used only by pod itself
 
        # Convert name from  File/Basename.pm to File::Basename.3 format,