This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Install less README files
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 5 Jan 2006 15:33:32 +0000 (15:33 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 5 Jan 2006 15:33:32 +0000 (15:33 +0000)
p4raw-id: //depot/perl@26658

installperl

index 6a20e71..e915d00 100755 (executable)
@@ -818,7 +818,7 @@ sub installlib {
 
     # 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{^(?:README(?:\.\w+)|MANIFEST|META\.yml|INSTALL)$};
     return if $name =~ m{^(?:TODO|BUGS|CREDITS)$}i;
     return if $name =~ m{^change(?:s|log)(?:\.libnet)?$}i;