X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=25eb38f4eba51555a2ecb7fa51df7ad4afab37a7;hb=c5fb024cfc28dcf0f59ff8d8931b66fffa6d4908;hp=d7078f68cdc31f659a5f5d61fd2bfa0044b7b7be;hpb=2d8ea983a92ff04838a169dff57208d9f6388d88;p=gitmo%2FClass-C3.git diff --git a/Makefile.PL b/Makefile.PL index d7078f6..25eb38f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,19 +1,23 @@ -use inc::Module::Install; +use inc::Module::Install 0.75; 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', - ($] < 5.009_005 ? ('Class::C3::XS' => '0.02') : ()); + 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'; } -auto_install; +# Rebuild README for maintainers +if(-e 'MANIFEST.SKIP') { + system("pod2text lib/Class/C3.pm >README"); +} + +auto_provides; WriteAll;