diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-10-31 20:35:23 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-10-31 20:35:23 +0000 |
commit | 922ef74c95e1191f8a8fc0cf9f4ec08a0ed8d2ef (patch) | |
tree | fd98ce54debaeacdd91bdb78e5aedef8bfbb5d28 /installperl | |
parent | d08083205cf0981a17df3d0fa9585ef663647309 (diff) | |
download | perl-922ef74c95e1191f8a8fc0cf9f4ec08a0ed8d2ef.tar.gz |
Prevent the installation of makefiles that can be found
under lib/.
p4raw-id: //depot/perl@21595
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installperl b/installperl index 3b734551e1..b734b4b763 100755 --- a/installperl +++ b/installperl @@ -2,7 +2,7 @@ BEGIN { require 5.004; - chdir '..' if !-d 'lib' and -d '..\lib'; + chdir '..' if !-d 'lib' and -d '../lib'; @INC = 'lib'; $ENV{PERL5LIB} = 'lib'; } @@ -797,6 +797,8 @@ sub installlib { $dir =~ m{/t(?:/|$)}; # ignore the cpan script in lib/CPAN/bin (installed later with other utils) return if $name eq 'cpan'; + # ignore the Makefiles + return if $name =~ /^makefile$/i; # ignore the test extensions return if $dir =~ m{ext/XS/(?:APItest|Typemap)/}; |