You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by ph...@apache.org on 2009/04/25 23:25:56 UTC

svn commit: r768604 - /perl/Apache-Bootstrap/trunk/Makefile.PL

Author: phred
Date: Sat Apr 25 21:25:56 2009
New Revision: 768604

URL: http://svn.apache.org/viewvc?rev=768604&view=rev
Log:
Add tag target to makefile.

Modified:
    perl/Apache-Bootstrap/trunk/Makefile.PL

Modified: perl/Apache-Bootstrap/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/Apache-Bootstrap/trunk/Makefile.PL?rev=768604&r1=768603&r2=768604&view=diff
==============================================================================
--- perl/Apache-Bootstrap/trunk/Makefile.PL (original)
+++ perl/Apache-Bootstrap/trunk/Makefile.PL Sat Apr 25 21:25:56 2009
@@ -24,3 +24,17 @@
 
     return $self->SUPER::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-Bootstrap/trunk https://svn.apache.org/repos/asf/perl/Apache-Bootstrap/tags/$(VERSION_SYM)
+	@echo update lib/Apache/Bootstrap.pm VERSION now
+EOF
+
+    return $string;
+}