Permalink
Browse files

Remove `Makefile.PL`.

  • Loading branch information...
theory committed Jun 19, 2011
1 parent 1d99df6 commit 9aac2323c311421916558053bd33e5e0714f925c
Showing with 2 additions and 35 deletions.
  1. +0 −1 Build.PL
  2. +2 −0 Changes
  3. +0 −34 Makefile.PL
View
@@ -37,7 +37,6 @@ my $class = Module::Build->subclass(
my $build = $class->new(
module_name => 'App::Info',
license => 'perl',
- create_makefile_pl => 'passthrough',
configure_requires => { 'Module::Build' => '0.2701' },
recommends => { 'Test::Pod' => '1.20' },
requires => { File::Spec => 0 },
View
@@ -1,6 +1,8 @@
Revision history for Perl extension App::Info.
0.57
+ - Removed `Makefile.PL`. It used Module::Build internally, which is
+ deprecated.
0.56 2011-02-22T21:02:39
- Added `cgibin_physical()` and `cgibin_virtual()` to
View
@@ -1,34 +0,0 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.37_03
-
- unless (eval "use Module::Build::Compat 0.02; 1" ) {
- print "This module requires Module::Build to install itself.\n";
-
- require ExtUtils::MakeMaker;
- my $yn = ExtUtils::MakeMaker::prompt
- (' Install Module::Build now from CPAN?', 'y');
-
- unless ($yn =~ /^y/i) {
- die " *** Cannot install without Module::Build. Exiting ...\n";
- }
-
- require Cwd;
- require File::Spec;
- require CPAN;
-
- # Save this 'cause CPAN will chdir all over the place.
- my $cwd = Cwd::cwd();
-
- CPAN::Shell->install('Module::Build::Compat');
- CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
- or die "Couldn't install Module::Build, giving up.\n";
-
- chdir $cwd or die "Cannot chdir() back to $cwd: $!";
- }
- eval "use Module::Build::Compat 0.02; 1" or die $@;
- use lib '_build/lib';
- Module::Build::Compat->run_build_pl(args => \@ARGV);
- my $build_script = 'Build';
- $build_script .= '.com' if $^O eq 'VMS';
- exit(0) unless(-e $build_script); # cpantesters convention
- require My::Builder;
- Module::Build::Compat->write_makefile(build_class => 'My::Builder');

0 comments on commit 9aac232

Please sign in to comment.