Makefile.PL: gzip -9, and clean up test db

and a perltidy
This commit is contained in:
Matt Simerson 2013-04-21 20:33:46 -04:00
parent 8e054c1eda
commit c6b5a0dfae

View File

@ -4,21 +4,25 @@ use strict;
use ExtUtils::MakeMaker; use ExtUtils::MakeMaker;
WriteMakefile( WriteMakefile(
NAME => 'qpsmtpd', NAME => 'qpsmtpd',
VERSION_FROM => 'lib/Qpsmtpd.pm', VERSION_FROM => 'lib/Qpsmtpd.pm',
PREREQ_PM => { PREREQ_PM => {
'Mail::Header' => 0, 'Mail::Header' => 0,
'MIME::Base64' => 0, 'MIME::Base64' => 0,
'Net::DNS' => 0.39, 'Net::DNS' => 0.39,
'Data::Dumper' => 0, 'Data::Dumper' => 0,
'File::Temp' => 0, 'File::Temp' => 0,
'Time::HiRes' => 0, 'Time::HiRes' => 0,
'Net::IP' => 0, 'Net::IP' => 0,
'Date::Parse' => 0, 'Date::Parse' => 0,
}, },
ABSTRACT => 'Flexible smtpd daemon written in Perl', ABSTRACT => 'Flexible smtpd daemon written in Perl',
AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>', AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>',
EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork qpsmtpd-async)], EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork qpsmtpd-async)],
dist => {COMPRESS => 'gzip -9f',},
clean => {
FILES => ['t/config/greylist.dbm*',],
},
); );
sub MY::libscan { sub MY::libscan {
@ -28,11 +32,11 @@ sub MY::libscan {
} }
sub MY::postamble { sub MY::postamble {
qq[ qq[
testcover : testcover :
\t cover -delete && \\ \t cover -delete && \\
HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\ HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\
cover cover
] ]
} }