This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't install XS::APItest and XS::Typemap
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 21 Mar 2007 08:57:22 +0000 (08:57 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 21 Mar 2007 08:57:22 +0000 (08:57 +0000)
p4raw-id: //depot/perl@30653

installperl
utils/perlivp.PL

index a45c3fd..521e4f5 100755 (executable)
@@ -834,7 +834,8 @@ sub installlib {
     # ignore the Makefiles
     return if $name =~ /^makefile$/i;
     # ignore the test extensions
-    return if $dir =~ m{ext/XS/(?:APItest|Typemap)/};
+    return if $dir =~ m{\bXS/(?:APItest|Typemap)\b};
+    return if $name =~ m{\b(?:APItest|Typemap)\.pm$};
     # ignore the demo files
     return if $dir =~ /\bdemos?\b/;
 
index 01c5169..276ba76 100644 (file)
@@ -211,6 +211,9 @@ if (defined($Config{'extensions'})) {
        # that's a distribution name, not a module name
        next if $_ eq 'IO/Compress/Zlib';
         next if $_ eq 'Devel/DProf'; 
+       # test modules
+       next if $_ eq 'XS/APItest';
+       next if $_ eq 'XS/Typemap';
            # VMS$ perl  -e "eval ""require \""Devel/DProf.pm\"";"" print $@"
            # \NT> perl  -e "eval \"require 'Devel/DProf.pm'\"; print $@"
            # DProf: run perl with -d to use DProf.