explicitly remove manifest on author mode make
Peter Rabbitson [Thu, 11 Jun 2009 12:32:07 +0000 (12:32 +0000)]
Makefile.PL

index 17871b8..826c3bc 100644 (file)
@@ -112,12 +112,16 @@ EOW
     build_requires ($module => $force_requires_if_author{$module});
   }
 
+  print "Regenerating README\n";
   system('pod2text lib/DBIx/Class.pm > README');
-}
 
-auto_provides;
+  if (-f 'MANIFEST') {
+    print "Removing MANIFEST\n";
+    unlink 'MANIFEST';
+  }
+}
 
-auto_install;
+auto_install();
 
 WriteAll();