use strict;
use warnings;
-use Config;
-use ExtUtils::MakeMaker;
+use ExtUtils::MakeMaker::Dist::Zilla::Develop;
use lib 'inc';
use MMHelper;
use MyInline;
-warn <<'EOF';
-
- ********************************* WARNING **********************************
-
- This module uses Dist::Zilla for development. This Makefile.PL will let you
- run the tests, but you are encouraged to install Dist::Zilla and the needed
- plugins if you intend on doing any serious hacking.
-
- ****************************************************************************
-
-EOF
-
system( $^X, 'author/extract-inline-tests', '--quiet' );
eval MMHelper::my_package_subs();
use Config;
-my $message;
-BEGIN {
-$message = <<'MESSAGE';
-
- ********************************* ERROR ************************************
-
- This module uses Dist::Zilla for development. This Makefile.PL will let you
- run the tests, but should not be used for installation or building dists.
- Building a dist should be done with 'dzil build', installation should be
- done with 'dzil install', and releasing should be done with 'dzil release'.
-
- ****************************************************************************
-
-MESSAGE
-$message =~ s/^(.*)$/\t\$(NOECHO) echo "$1";/mg;
-}
-
sub const_cccmd {
my $ret = shift->SUPER::const_cccmd(@_);
return q{} unless $ret;
$(OBJECT) : mop.h
EOF
}
-
-sub install {
- return <<EOF;
-install:
-$message
- \$(NOECHO) echo "Running dzil install for you...";
- \$(NOECHO) dzil install
-EOF
-}
-
-sub dist_core {
- return <<EOF;
-dist:
-$message
- \$(NOECHO) echo "Running dzil build for you...";
- \$(NOECHO) dzil build
-EOF
-}
}
EOP
}