X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=45f759bb47575120a95a3787ced2d2bb979f4f7f;hb=HEAD;hp=5c2e3cc6f22ab2d4f7519fdda8349d8b816efa4b;hpb=1594b447f8e0ac2e53896bd04f5784a9390ec6ab;p=p5sagit%2FDevel-BeginLift.git diff --git a/Makefile.PL b/Makefile.PL index 5c2e3cc..45f759b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,8 +1,23 @@ use inc::Module::Install 0.67; +use ExtUtils::Depends; + name 'Devel-BeginLift'; -license 'perl'; -author 'Matt S Trout'; all_from 'lib/Devel/BeginLift.pm'; -WriteMakefile; +requires 'B::Hooks::OP::Check::EntersubForCV' => '0.03'; + +build_requires 'Test::More'; +build_requires 'B::Hooks::OP::Check::EntersubForCV'; + +configure_requires 'ExtUtils::Depends'; +configure_requires 'B::Hooks::OP::Check::EntersubForCV'; + +my $pkg = ExtUtils::Depends->new('Devel::Declare', 'B::Hooks::OP::Check::EntersubForCV'); + +WriteMakefile( + dist => { + PREOP => 'pod2text lib/Devel/BeginLift.pm >$(DISTVNAME)/README' + }, + $pkg->get_makefile_vars, +);