[Python-checkins] cpython (2.7): allow doc archives to be built for versions in the rc stage

benjamin.peterson python-checkins at python.org
Sun May 25 00:15:31 CEST 2014


http://hg.python.org/cpython/rev/ecfb6f8a7bcf
changeset:   90816:ecfb6f8a7bcf
branch:      2.7
parent:      90813:fef11a65a5e5
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat May 24 15:15:26 2014 -0700
summary:
  allow doc archives to be built for versions in the rc stage

files:
  Doc/Makefile |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/Makefile b/Doc/Makefile
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -176,9 +176,10 @@
 autobuild-html:
 	make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
 
-# for stable releases: only build if not in pre-release stage (alpha, beta, rc)
+# for stable releases: only build if not in pre-release stage (alpha, beta)
+# release candidate downloads are okay, since the stable tree can be in that stage
 autobuild-stable:
-	@case $(DISTVERSION) in *[abc]*) \
+	@case $(DISTVERSION) in *[ab]*) \
 		echo "Not building; $(DISTVERSION) is not a release version."; \
 		exit 1;; \
 	esac

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list