From: Michael G. Schwern Date: Fri, 7 Sep 2001 15:38:13 +0000 (-0400) Subject: (was Re: MakeMaker: MM_Unix rule excluding pods) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=40b90ac360c5ba3f485ee4b716fd0937d89c1054;p=p5sagit%2Fp5-mst-13.2.git (was Re: MakeMaker: MM_Unix rule excluding pods) Message-ID: <20010907153813.K606@blackrider> p4raw-id: //depot/perl@11942 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 8a15f84..9f09aac 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -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; }