X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=3713df10f7ac458fd3ca0a0b812297ccfca98b2d;hb=42e5b103c09794bbe86eea1a464dae6b5276ff48;hp=d8225bc17e04402ba6c60a4e6da4fcefb2b8ca30;hpb=971bc4b63114ba9994a8deeeb5bdc297112fa50b;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index d8225bc..3713df1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -71,13 +71,19 @@ my %force_requires_if_author = ( # t/52cycle.t 'Test::Memory::Cycle' => 0, + 'Devel::Cycle' => 1.10, + # t/inflate/datetime*.t + # t/72.pg + # t/36datetime.t # t/60core.t + 'DateTime::Format::SQLite' => 0, 'DateTime::Format::MySQL' => 0, - - # t/89inflate_datetime.t 'DateTime::Format::Pg' => 0, + # t/96_is_deteministic_value.t + 'DateTime::Format::Strptime' => 0, + # t/72pg.t $ENV{DBICTEST_PG_DSN} ? ('Sys::SigAction'=> 0) @@ -91,8 +97,6 @@ my %force_requires_if_author = ( 'namespace::clean' => 0.11, 'Hash::Merge', => 0.11, - # t/96_is_deteministic_value.t - 'DateTime::Format::Strptime' => 0, ); if ($Module::Install::AUTHOR) { @@ -111,12 +115,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();