Merge 'current' into 'back-compat'
[dbsrgits/DBIx-Class-Schema-Loader.git] / Makefile.PL
index 58f13ae..63c3d25 100644 (file)
@@ -125,10 +125,12 @@ for(my $i = 0; $i <= $#$_features - 1; $i += 2) {
 }
 
 # Rebuild README for maintainers
-if(-e 'MANIFEST.SKIP') {
+if ($Module::Install::AUTHOR) {
     system("pod2text lib/DBIx/Class/Schema/Loader.pm > README");
 }
 
+realclean_files 'README';
+
 resources 'IRC'         => 'irc://irc.perl.org/#dbix-class';
 resources 'license'     => 'http://dev.perl.org/licenses/';
 resources 'repository'  => 'http://dev.catalyst.perl.org/repos/bast/branches/DBIx-Class-Schema-Loader/current/';