demand Module::Install 0.75
[gitmo/Class-C3.git] / Makefile.PL
index 6d5529a..6c5a8ee 100644 (file)
@@ -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,11 @@ if($] < 5.009_005) {
     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;