use strict;
use Module::Build;
-use base 'Module::Build';
use Path::Class;
use File::Find 'find';
+our @ISA;
+eval "require Module::Build";
+die "Please install Module::Build\n" if $@;
+push @ISA, 'Module::Build';
+
our @ignore =
qw/Build Build.PL Changes MANIFEST META.yml Makefile.PL Makefile README
_build blib lib script t/;
=head1 DEPRECATION NOTICE
-This module is deprecated in favor of L<Module::Install::Catalyst>.
+This module is deprecated in favor of L<Module::Install::Catalyst>. It's
+only left here for compability with older applications.
=head1 METHODS
=over 4
-=item ACTION_install
+=item new
=cut
sub new {
my $class = shift;
- my $self = $class->SUPER::new(@_);
+ my $self = $class->SUPER::new(@_);
my $app_name = $self->{properties}{module_name};
warn <<"EOF";
return $self;
}
+=item ACTION_install
+
+=cut
+
sub ACTION_install {
my $self = shift;
$self->SUPER::ACTION_install;