From: Peter Rabbitson Date: Thu, 11 Jun 2009 12:32:07 +0000 (+0000) Subject: explicitly remove manifest on author mode make X-Git-Tag: v0.08106~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7ff18dbd7fdaff372c7ec8476a62ccc9e5d5bb68;p=dbsrgits%2FDBIx-Class.git explicitly remove manifest on author mode make --- diff --git a/Makefile.PL b/Makefile.PL index 17871b8..826c3bc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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();