X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=25eb38f4eba51555a2ecb7fa51df7ad4afab37a7;hb=841060bf10cb4e5a8eca7cd1bb6bd5192dc9e92b;hp=6d5529aface34a3fe0489ce0addf3ea30083b1bd;hpb=0c2e9b71331a73062e87c57fbe80a1e3614f545e;p=gitmo%2FClass-C3.git diff --git a/Makefile.PL b/Makefile.PL index 6d5529a..25eb38f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,11 +1,11 @@ -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', 'Class::C3::XS' => '0.07'; @@ -14,5 +14,10 @@ if($] < 5.009_005) { 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;