From af2ee544d915efb23c8e4fdca8f71c640a68f3cf Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Fri, 2 Sep 2011 22:37:46 +0200 Subject: [PATCH] remove B::Hooks::EndOfScope::on_scope_end dependency, not needed --- Makefile.PL | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 22604fd..68499b2 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,10 +10,10 @@ WriteMakefile 'Attribute::Handlers' => 0, 'B::Generate' => '1.34', 'B::Utils' => 0, - 'B::Hooks::EndOfScope' => '0.09', + #'B::Hooks::EndOfScope' => '0.09', 'optimizer' => '0.06', }, - AUTHOR => 'Artur Bergman', + AUTHOR => 'Artur Bergman, Reini Urban', ($ExtUtils::MakeMaker::VERSION gt '6.46' ? ('META_MERGE' => { @@ -26,5 +26,14 @@ WriteMakefile ) : ()), ); -sub MY::depend { "README : lib/optimize.pm\n\tpod2text lib/optimize.pm > README\n"; } +sub MY::depend { " +README : lib/optimize.pm + pod2text lib/optimize.pm > README + +cover : cover_db/coverage.html + +cover_db/coverage.html : + PERL5OPT=-MDevel::Cover make test + \$(PERL) -S cover +"; }