Author: pgollucci
Date: Wed Dec  6 00:06:30 2006
New Revision: 482957

URL: http://svn.apache.org/viewvc?view=rev&rev=482957
Log:
provide a means to generate a consistent distfile name for upload and 
distribution


Modified:
    perl/Apache-SizeLimit/trunk/Makefile.PL
    perl/Apache-SizeLimit/trunk/RELEASE

Modified: perl/Apache-SizeLimit/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Makefile.PL?view=diff&rev=482957&r1=482956&r2=482957
==============================================================================
--- perl/Apache-SizeLimit/trunk/Makefile.PL (original)
+++ perl/Apache-SizeLimit/trunk/Makefile.PL Wed Dec  6 00:06:30 2006
@@ -39,7 +39,13 @@
                    clean           => { FILES => 't/TEST' },
                   );
 
-if ($mp_gen == 1) {
+### MAINTAINER_BUILDING_RELEASE is hack
+### for the Release Manager's use only.
+### We will set it so that the resulting
+### distribution will be called Apache-SizeLimit-\d+.tar.gz
+### and NOT Apache2-SizeLimit-\d+.tar.gz
+### This is for historical reasons and consistency
+if ($mp_gen == 1 || $ENV{MAINTAINER_BUILDING_RELEASE}) {
     require ExtUtils::MakeMaker;
     ExtUtils::MakeMaker::WriteMakefile(
                                        %common_opts,

Modified: perl/Apache-SizeLimit/trunk/RELEASE
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/RELEASE?view=diff&rev=482957&r1=482956&r2=482957
==============================================================================
--- perl/Apache-SizeLimit/trunk/RELEASE (original)
+++ perl/Apache-SizeLimit/trunk/RELEASE Wed Dec  6 00:06:30 2006
@@ -37,6 +37,10 @@
      Decide what to do about having almost identical pod in Apache::SizeLimit
      and Apache2::SizeLimit
 
+3/4. Configure 
+
+     MAINTAINER_BUILDING_RELEASE=1 perl Makefile.PL
+
 1. 'make dist' - to make sure nothing is missing from the manifest,
    etc. Now test this generated package (not svn) with as many
    configurations as possible on as many platforms as possible.


Reply via email to