X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;fp=Makefile.PL;h=ed0c3681bd349adac58220e762e3fcc8721458fa;hb=5e5bdebbcf6d4b0d9b155dd7a71e3293da12db51;hp=ef6e4e383c1a4ebfb2652ca18f2a2688b2f536fd;hpb=98a557abee6e386ffd8a8df3412cca5b6638a196;p=p5sagit%2FDevel-BeginLift.git diff --git a/Makefile.PL b/Makefile.PL index ef6e4e3..ed0c368 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,12 +1,21 @@ use inc::Module::Install 0.67; +use ExtUtils::Depends; + name 'Devel-BeginLift'; all_from 'lib/Devel/BeginLift.pm'; 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, );