summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-27 23:18:38 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-27 23:18:38 +0000
commitd491518e36bdf6ee0e29d7043e72b5f41100ece6 (patch)
tree3b198fbb3acfeff30dbd3b719aa80c9c3f0fa67f /ext
parent554627f6cca63a97a56622204edb354e6a52c0ca (diff)
downloadperl-d491518e36bdf6ee0e29d7043e72b5f41100ece6.tar.gz
Don't let MakeMaker install doc for MIME::Base64
(since installpod does it already) p4raw-id: //depot/perl@26217
Diffstat (limited to 'ext')
-rw-r--r--ext/MIME/Base64/Makefile.PL11
1 files changed, 9 insertions, 2 deletions
diff --git a/ext/MIME/Base64/Makefile.PL b/ext/MIME/Base64/Makefile.PL
index d7e0784161..f676159f67 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,
);