summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2005-05-26 06:43:05 -0700
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-05-27 10:20:54 +0000
commit0ae089ada984d08896a4bef1b8c66f76097fe842 (patch)
treeccd2b5f5ac1296c00b8c75ee1292939454f59728 /installperl
parent0159f81bfe8e286f119bb9a00f0567234a23235b (diff)
downloadperl-0ae089ada984d08896a4bef1b8c66f76097fe842.tar.gz
Do not install change logs, READMEs, etc...
Message-ID: <20050526204305.GH11558@windhund.schwern.org> p4raw-id: //depot/perl@24596
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl6
1 files changed, 6 insertions, 0 deletions
diff --git a/installperl b/installperl
index 04ae476cc7..5ba613af72 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;