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",
OBJECT => '$(BASEEXT)$(OBJ_EXT) $(O_FILES)',
XSPROTOARG => '-noprototypes',
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
- 'clean' => { FILES => qw($(H_FILES))}
+ 'clean' => { FILES => qw($(H_FILES))},
+ @coreopts,
);
do "mkheader";
+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' => 'Unicode::Normalize',
'VERSION_FROM' => 'Normalize.pm', # finds $VERSION
(ABSTRACT_FROM => 'Normalize.pm', # retrieve abstract from module
AUTHOR => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>') : ()),
clean => {FILES=> 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h'},
+ @coreopts,
);
'INC' => '-I.', # e.g., '-I. -I/usr/include/other'
# Un-comment this if you add C files to link with later:
# 'OBJECT' => '$(O_FILES)', # link all the C files too
+ MAN3PODS => {}, # Pods will be built by installman.
);
sub MY::install { "install ::\n" };