require 5.8.8;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
use Apache::TestMM qw( clean test );
my @scripts = qw( t/TEST );
# accept the configs from command line
Apache::TestMM::filter_args();
# generate test scripts
Apache::TestMM::generate_script('t/TEST');
WriteMakefile(
NAME => 'Apache2::WebApp::Plugin::DateTime',
VERSION_FROM => 'lib/Apache2/WebApp/Plugin/DateTime.pm', # finds \$VERSION
AUTHOR => 'Marc S. Brooks (mbrooks@cpan.org)',
PREREQ_PM => {
'Apache::Test' => 0,
'Apache2::WebApp' => 0.01,
'Date::Calc' => 5.4,
'Date::Format' => 2.22,
'Date::Manip' => 5.54,
'Params::Validate' => 0,
'Time::ParseDate' => 2003.0211,
},
clean => {
FILES => "@{ clean_files() }",
}
);
sub clean_files {
return [@scripts];
}