This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0159f81
)
Do not install change logs, READMEs, etc...
author
Michael G. Schwern
<schwern@pobox.com>
Thu, 26 May 2005 13:43:05 +0000
(06:43 -0700)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Fri, 27 May 2005 10:20:54 +0000
(10:20 +0000)
Message-ID: <
20050526204305
.GH11558@windhund.schwern.org>
p4raw-id: //depot/perl@24596
installperl
patch
|
blob
|
blame
|
history
diff --git
a/installperl
b/installperl
index
04ae476
..
5ba613a
100755
(executable)
--- 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;