Author: geoff Date: Wed Jun 28 05:56:16 2006 New Revision: 417746 URL: http://svn.apache.org/viewvc?rev=417746&view=rev Log: add tag target
tweak clean target - t/logs, t/conf etc will be automatically cleaned up by Apache-Test this Makefile needs a bit of work, I think. what stands out now is reliable Apache-Test integration and general cleanup (no need for TEST.PL, for example) Modified: perl/Apache-SizeLimit/trunk/Makefile.PL Modified: perl/Apache-SizeLimit/trunk/Makefile.PL URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Makefile.PL?rev=417746&r1=417745&r2=417746&view=diff ============================================================================== --- perl/Apache-SizeLimit/trunk/Makefile.PL (original) +++ perl/Apache-SizeLimit/trunk/Makefile.PL Wed Jun 28 05:56:16 2006 @@ -32,5 +32,19 @@ NAME => "Apache::SizeLimit", PREREQ_PM => \%prereqs, ABSTRACT_FROM => 'lib/Apache/SizeLimit.pm', - clean => { FILES => 't/TEST t/logs t/htdocs t/conf' }, + clean => { FILES => 't/TEST' }, ); + +sub MY::postamble { + my $self = shift; + + my $string = $self->MM::postamble; + + $string .= <<'EOF'; +tag : + svn copy https://svn.apache.org/repos/asf/perl/Apache-SizeLimit/trunk https://svn.apache.org/repos/asf/perl/Apache-SizeLimit/tags/$(VERSION_SYM) + @echo update lib/Apache/SizeLimit.pm VERSION now +EOF + + return $string; +}