Author: stevehay
Date: Thu Apr 23 08:09:11 2015
New Revision: 1675553

URL: http://svn.apache.org/r1675553
Log:
Borrow the MAINTAINER_BUILDING_RELEASE=1 hack from Apache-SizeLimit so that the 
instruction about setting it to 1 when making a release actually works! 
(Otherwise we end up with a release called Apache2-Reload.)

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

Modified: perl/Apache-Reload/trunk/Makefile.PL
URL: 
http://svn.apache.org/viewvc/perl/Apache-Reload/trunk/Makefile.PL?rev=1675553&r1=1675552&r2=1675553&view=diff
==============================================================================
--- perl/Apache-Reload/trunk/Makefile.PL (original)
+++ perl/Apache-Reload/trunk/Makefile.PL Thu Apr 23 08:09:11 2015
@@ -33,7 +33,13 @@ my %common_opts = (
                    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-Reload-\d+.tar.gz
+### and NOT Apache2-Reload-\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,


Reply via email to