Install less README files
Rafael Garcia-Suarez [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;