X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=Makefile.PL;h=1ba7a612c4902e6fe3504c302ef0f640791e0177;hp=d6617ff81b0facc257cfc690ecf99b48604c82ea;hb=f7ec92f82e6efe169eb50934f1d3841ee2bd0143;hpb=eccd016313018911d3bbb967c255fcb55a59b792 diff --git a/Makefile.PL b/Makefile.PL index d6617ff..1ba7a61 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,17 @@ use ExtUtils::MakeMaker; my $dist = 'rgit'; +my %PREREQ_PM = ( + 'Carp' => 0, + 'Cwd' => 0, + 'Exporter' => 0, + 'File::Find' => 0, + 'File::Spec::Functions' => 0, + 'Object::Tiny' => 0, + 'POSIX' => 0, + 'base' => 0, +); + my %META = ( configure_requires => { 'ExtUtils::MakeMaker' => 0, @@ -16,6 +27,7 @@ my %META = ( 'File::Spec::Functions' => 0, 'File::Temp' => 0, 'Test::More' => 0, + %PREREQ_PM, }, recommends => { 'Term::ReadKey' => 0, @@ -37,16 +49,7 @@ WriteMakefile( ABSTRACT => 'Recursively execute a command on all the git repositories in a directory tree.', PL_FILES => { }, EXE_FILES => [ 'bin/rgit' ], - PREREQ_PM => { - 'Carp' => 0, - 'Cwd' => 0, - 'Exporter' => 0, - 'File::Find' => 0, - 'File::Spec::Functions' => 0, - 'Object::Tiny' => 0, - 'POSIX' => 0, - 'base' => 0, - }, + PREREQ_PM => \%PREREQ_PM, MIN_PERL_VERSION => 5.008, META_MERGE => \%META, dist => {