X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=4d34cb4296415b6485f0938f433188a7af16bd2e;hb=ed5a217268b1f8b54cc4fff97d8e8a2a0f17f00b;hp=52adfb1b1d1ae886107e39043565a6e2efeb8df5;hpb=c5785624dc4f0933fecda24f25349181b53e82e2;p=gitmo%2FClass-C3.git diff --git a/Makefile.PL b/Makefile.PL index 52adfb1..4d34cb4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,18 +1,24 @@ -use inc::Module::Install; +use inc::Module::Install 0.65; name 'Class-C3'; all_from 'lib/Class/C3.pm'; # Class::C3 under 5.9.5+ has no deps if($] < 5.009_005) { - build_requires 'Test::More' => '0.47'; + test_requires 'Test::More' => '0.47'; - feature 'XS Speedups', 'Class::C3::XS' => '0.03'; + feature 'XS Speedups', 'Class::C3::XS' => '0.07'; # Would like to disable these if they answer yes above too ... requires 'Algorithm::C3' => '0.06'; requires 'Scalar::Util' => '1.10'; } +# Rebuild README for maintainers +if(-e 'MANIFEST.SKIP') { + system("pod2text lib/Class/C3.pm >README"); +} + +auto_provides; auto_install; WriteAll;