diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-05 11:45:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-05 11:45:36 +0000 |
commit | 9fdbfc113dab517e9adaec9b2bdb304801f9ed20 (patch) | |
tree | 77be8b63febaf484bb055549adbf6ae1aaf13863 /ext/Devel | |
parent | 9f1f04a17d93e8b8afa26e6ca9144732df879671 (diff) | |
download | perl-9fdbfc113dab517e9adaec9b2bdb304801f9ed20.tar.gz |
The manpages don't have to be built by MakeMaker for the
core modules in ext/. Disable this in Devel::PPPort (not
up-to-date on CPAN), Unicode::Normalize (the CPAN version
uses a different Makefile.PL anyway) and XS::APItest
(not CPANized.)
p4raw-id: //depot/perl@19145
Diffstat (limited to 'ext/Devel')
-rw-r--r-- | ext/Devel/PPPort/Makefile.PL | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/Devel/PPPort/Makefile.PL b/ext/Devel/PPPort/Makefile.PL index f4cf6f5996..e86ed3b46a 100644 --- a/ext/Devel/PPPort/Makefile.PL +++ b/ext/Devel/PPPort/Makefile.PL @@ -1,5 +1,16 @@ use ExtUtils::MakeMaker; +unless($ENV{PERL_CORE}) { + $ENV{PERL_CORE} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV; +} +if ($ENV{PERL_CORE}) { + # Pods will be built by installman. + @coreopts = ( MAN3PODS => {} ); +} +else { + @coreopts = (); +} + WriteMakefile( NAME => "Devel::PPPort", DISTNAME => "Devel-PPPort", @@ -12,5 +23,6 @@ WriteMakefile( OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)', XSPROTOARG => '-noprototypes', 'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" }, - 'clean' => { FILES => qw($(H_FILES))} + 'clean' => { FILES => qw($(H_FILES))}, + @coreopts, ); |