Commit | Line | Data |
ac5ea531 |
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 | |
9fdbfc11 |
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 | |
ac5ea531 |
19 | WriteMakefile( |
20 | 'NAME' => 'Unicode::Normalize', |
21 | 'VERSION_FROM' => 'Normalize.pm', # finds $VERSION |
22 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
d85850a7 |
23 | (ABSTRACT_FROM => 'Normalize.pm', # retrieve abstract from module |
ac5ea531 |
24 | AUTHOR => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>') : ()), |
25 | clean => {FILES=> 'unfcan.h unfcmb.h unfcmp.h unfcpt.h unfexc.h'}, |
9fdbfc11 |
26 | @coreopts, |
ac5ea531 |
27 | ); |