From c6b5a0dfae24bf92331c5ec2fb0c9d8d99adc36d Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sun, 21 Apr 2013 20:33:46 -0400 Subject: [PATCH] Makefile.PL: gzip -9, and clean up test db and a perltidy --- Makefile.PL | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 3a40c1b..39d9104 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,21 +4,25 @@ use strict; use ExtUtils::MakeMaker; WriteMakefile( - NAME => 'qpsmtpd', - VERSION_FROM => 'lib/Qpsmtpd.pm', - PREREQ_PM => { - 'Mail::Header' => 0, - 'MIME::Base64' => 0, - 'Net::DNS' => 0.39, - 'Data::Dumper' => 0, - 'File::Temp' => 0, - 'Time::HiRes' => 0, - 'Net::IP' => 0, - 'Date::Parse' => 0, - }, - ABSTRACT => 'Flexible smtpd daemon written in Perl', - AUTHOR => 'Ask Bjoern Hansen ', - EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork qpsmtpd-async)], + NAME => 'qpsmtpd', + VERSION_FROM => 'lib/Qpsmtpd.pm', + PREREQ_PM => { + 'Mail::Header' => 0, + 'MIME::Base64' => 0, + 'Net::DNS' => 0.39, + 'Data::Dumper' => 0, + 'File::Temp' => 0, + 'Time::HiRes' => 0, + 'Net::IP' => 0, + 'Date::Parse' => 0, + }, + ABSTRACT => 'Flexible smtpd daemon written in Perl', + AUTHOR => 'Ask Bjoern Hansen ', + EXE_FILES => [qw(qpsmtpd qpsmtpd-forkserver qpsmtpd-prefork qpsmtpd-async)], + dist => {COMPRESS => 'gzip -9f',}, + clean => { + FILES => ['t/config/greylist.dbm*',], + }, ); sub MY::libscan { @@ -28,11 +32,11 @@ sub MY::libscan { } sub MY::postamble { - qq[ + qq[ testcover : \t cover -delete && \\ - HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\ - cover + HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test && \\ + cover ] }