From: Michael G. Schwern Date: Thu, 26 May 2005 13:43:05 +0000 (-0700) Subject: Do not install change logs, READMEs, etc... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ae089ada984d08896a4bef1b8c66f76097fe842;p=p5sagit%2Fp5-mst-13.2.git Do not install change logs, READMEs, etc... Message-ID: <20050526204305.GH11558@windhund.schwern.org> p4raw-id: //depot/perl@24596 --- diff --git a/installperl b/installperl index 04ae476..5ba613a 100755 --- a/installperl +++ b/installperl @@ -813,6 +813,12 @@ sub installlib { # ignore the test extensions return if $dir =~ m{ext/XS/(?:APItest|Typemap)/}; + # ignore READMEs, MANIFESTs, INSTALL docs, META.ymls and change logs. + # Changes.e2x and README.e2x are needed by enc2xs. + return if $name =~ m{^(?:README|MANIFEST|META\.yml|INSTALL)$}; + return if $name =~ m{^(?:TODO|BUGS|CREDITS))$}i; + return if $name =~ m{^change(?:s|log)(?:\.libnet)?$}i; + $name = "$dir/$name" if $dir ne ''; my $installlib = $installprivlib;