The manpages don't have to be built by MakeMaker for the
[p5sagit/p5-mst-13.2.git] / ext / Unicode / Normalize / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 # This is not the CPAN Unicode::Normalize makefile
4 # that can handle XS-NOXS installing.  We do just XS.
5
6 do "mkheader";
7
8 unless($ENV{PERL_CORE}) {
9     $ENV{PERL_CORE} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV;
10 }
11 if ($ENV{PERL_CORE}) {
12     # Pods will be built by installman.
13     @coreopts = ( MAN3PODS => {} );
14 }
15 else {
16     @coreopts = ();
17 }
18
19 WriteMakefile(
20     'NAME'              => 'Unicode::Normalize',
21     'VERSION_FROM'      => 'Normalize.pm', # finds $VERSION
22     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
23       (ABSTRACT_FROM => 'Normalize.pm', # retrieve abstract from module
24        AUTHOR     => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>') : ()),
25     clean => {FILES=> 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h'},
26     @coreopts,
27 );