(was Re: MakeMaker: MM_Unix rule excluding pods)
Michael G. Schwern [Fri, 7 Sep 2001 15:38:13 +0000 (11:38 -0400)]
Message-ID: <20010907153813.K606@blackrider>

p4raw-id: //depot/perl@11942

lib/ExtUtils/MM_Unix.pm

index 8a15f84..9f09aac 100644 (file)
@@ -1583,7 +1583,7 @@ sub init_dirscan {        # --- File and Directory Lists (.xs .pm .pod etc)
        # Remove "Configure.pm" and similar, if it's not the only pod listed
        # To force inclusion, just name it "Configure.pod", or override MAN3PODS
        foreach $name (keys %manifypods) {
-           if ($name =~ /(config|setup).*\.pm/is) {
+           if ($self->{PERL_CORE} and $name =~ /(config|setup).*\.pm/is) {
                delete $manifypods{$name};
                next;
            }