Test comment fix by Dominic Dunlop
[p5sagit/p5-mst-13.2.git] / installperl
index ddf739d..e915d00 100755 (executable)
@@ -577,7 +577,7 @@ if ($versiononly) {
 # Install pod pages.  Where? I guess in $installprivlib/pod
 # ($installprivlib/pods for cygwin).
 
-my $pod = ($Is_Cygwin || $Is_Darwin) ? 'pods' : 'pod';
+my $pod = ($Is_Cygwin || $Is_Darwin || $Is_VMS) ? 'pods' : 'pod';
 if ( !$versiononly || ($installprivlib =~ m/\Q$ver/)) {
     mkpath("${installprivlib}/$pod", $verbose, 0777);
 
@@ -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;