Merge 'DBIx-Class-current' into 'trunk'
[dbsrgits/DBIx-Class.git] / Makefile.PL
index a8319c5..a3375b6 100644 (file)
@@ -1,4 +1,4 @@
-use inc::Module::Install 0.64;
+use inc::Module::Install 0.67;
 
 name     'DBIx-Class';
 all_from 'lib/DBIx/Class.pm';
@@ -27,6 +27,13 @@ install_script 'script/dbicadmin';
 
 tests "t/*.t t/*/*.t";
 
+# re-build README if we're in an svk checkout
+if( -e 'MANIFEST.SKIP' ) {
+    system('pod2text lib/DBIx/Class.pm > README');
+}
+
+auto_provides;
+
 auto_install;
 
 WriteAll;