From: Rafael Garcia-Suarez Date: Sun, 27 Nov 2005 23:18:38 +0000 (+0000) Subject: Don't let MakeMaker install doc for MIME::Base64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d491518e36bdf6ee0e29d7043e72b5f41100ece6;p=p5sagit%2Fp5-mst-13.2.git Don't let MakeMaker install doc for MIME::Base64 (since installpod does it already) p4raw-id: //depot/perl@26217 --- diff --git a/ext/MIME/Base64/Makefile.PL b/ext/MIME/Base64/Makefile.PL index d7e0784..f676159 100644 --- a/ext/MIME/Base64/Makefile.PL +++ b/ext/MIME/Base64/Makefile.PL @@ -1,10 +1,17 @@ require 5.006; use ExtUtils::MakeMaker; +my @makefileopts; +if (grep { $_ eq 'PERL_CORE=1' } @ARGV) { + push @makefileopts, MAN3PODS => {}; +} +if ($] >= 5.008) { + push @makefileopts, INSTALLDIRS => 'perl'; +} + WriteMakefile( NAME => 'MIME::Base64', VERSION_FROM => 'Base64.pm', dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - ($] >= 5.008) ? - (INSTALLDIRS => 'perl') : (), + @makefileopts, );