Choose Build.PL over Makefile.PL.
This commit is contained in:
@@ -6,7 +6,7 @@ my $builder = Module::Build->new(
|
||||
module_name => 'cpanspec',
|
||||
license => 'perl',
|
||||
dist_author => 'Steven Pritchard <steve@cpan.org>',
|
||||
dist_version => '1.63',
|
||||
dist_version => '1.64',
|
||||
requires => {
|
||||
'Archive::Tar' => 0,
|
||||
'Archive::Zip' => 0,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
1.64
|
||||
|
||||
* If there is a Build.PL and a Makefile.PL, use Build.PL.
|
||||
|
||||
1.63 2006-03-24
|
||||
|
||||
* Look in $name.pod for %description and Summary also.
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# $Id: cpanspec,v 1.14 2006/03/24 01:07:23 stevenpritchard Exp $
|
||||
# $Id: cpanspec,v 1.15 2006/03/24 19:38:24 stevenpritchard Exp $
|
||||
|
||||
my $NAME="cpanspec";
|
||||
my $VERSION='1.63';
|
||||
my $VERSION='1.64';
|
||||
|
||||
=head1 NAME
|
||||
|
||||
@@ -708,7 +708,7 @@ for my $file (@ARGV) {
|
||||
if (grep /^Build\.PL$/, @files) {
|
||||
# FIXME - I need to figure out how to parse Build.PL.
|
||||
$build_requires{'Module::Build'}=0;
|
||||
$usebuildpl=1 if (!grep /^Makefile\.PL$/, @files);
|
||||
$usebuildpl=1;
|
||||
}
|
||||
|
||||
if (!$usebuildpl) {
|
||||
|
||||
Reference in New Issue
Block a user