X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=b3f07e4c32a57ae80514e1e3f5ca19dbc134e9e0;hb=43a7f56556532909fbb20c158e4f1a16bdba64f3;hp=3d9252cda78b959c2db0c0fec36b2097960d0701;hpb=5eff9c2438093d9f72e3359178acc747882d890a;p=p5sagit%2Flocal-lib.git diff --git a/Makefile.PL b/Makefile.PL index 3d9252c..b3f07e4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,7 +6,7 @@ use vars qw($bootstrapping $bootstrapping_args $no_manpages); use Config; # Solaris (and possibly other Unices) have a tar in /usr/bin that, among -# other things, does not understand @LongLink. This can cause +# other things, does not understand @LongLink. This can cause # extraction to look like it succeeded, but it actually failed (because # the error message for the @LongLink failure scrolled offscreen). # Therefore, given the fact that GNU tar is the most widespread tar available, @@ -107,7 +107,7 @@ DEATH } return $orig->(@_); }; - # not yet -- apeiron, 2010-03-10 + # not yet -- apeiron, 2010-03-10 #$CPAN::Config->{urllist} = ["http://cpan.shadowcatprojects.net"]; # all bootstrapped fine on one DH account # on another, it tries to install man stuff into /usr/local @@ -159,10 +159,10 @@ DEATH system($^X, '-MCPAN', '-e', $cpan_config_command) unless $did_cpan_config; system($^X, '-MCPAN', - '-e', + '-e', q[CPAN::HandleConfig->load;], - '-e', - q[$CPAN::Config->{makepl_arg} = ] . + '-e', + q[$CPAN::Config->{makepl_arg} = ] . q['INSTALLMAN1DIR=none INSTALLMAN3DIR=none';], '-e', q[$CPAN::Config->{buildpl_arg} = ] . @@ -260,4 +260,10 @@ resources( homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/local-lib.git', bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=local-lib', ); + +makemaker_args( + clean => { FILES => 't/dist/*/MYMETA* t/dist/*/blib t/dist/EUMM/Makefile t/dist/EUMM/pm_to_blib t/dist/MB/Build t/dist/MB/_build' }, + realclean => { FILES => 'MANIFEST MANIFEST.SKIP.bak' }, +); + WriteAll;