use strict; use warnings; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Test::WWW::Mechanize', AUTHOR => 'Andy Lester ', VERSION_FROM => 'Mechanize.pm', ABSTRACT_FROM => 'Mechanize.pm', PL_FILES => {}, PREREQ_PM => { 'Test::More' => 0, 'Test::LongString' => '0.07', 'URI::file' => 0, 'WWW::Mechanize' => '1.24', 'Carp::Assert::More' => 0, 'HTTP::Server::Simple' => '0.07', }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'Test-WWW-Mechanize-*' }, ); sub MY::postamble { return <<'MAKE_FRAG'; .PHONY: critic critic: perlcritic -1 -q -profile perlcriticrc bin/ lib/ t/ MAKE_FRAG }