[Python-checkins] cpython (2.7): Docs: add html-stable autobuild variant

georg.brandl python-checkins at python.org
Wed Jun 15 02:59:48 EDT 2016


https://hg.python.org/cpython/rev/ce8b8e1055d1
changeset: 102051:ce8b8e1055d1
branch: 2.7
parent: 102047:2e6fda267a20
user: Georg Brandl <georg at python.org>
date: Wed Jun 15 08:57:32 2016 +0200
summary:
 Docs: add html-stable autobuild variant
files:
 Doc/Makefile | 8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Doc/Makefile b/Doc/Makefile
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -161,7 +161,7 @@
 	-make suspicious
 
 # for quick rebuilds (HTML only)
-autobuild-html:
+autobuild-dev-html:
 	make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
 
 # for stable releases: only build if not in pre-release stage (alpha, beta)
@@ -173,3 +173,9 @@
 	esac
 	@make autobuild-dev
 
+autobuild-stable-html:
+	@case $(DISTVERSION) in *[ab]*) \
+		echo "Not building; $(DISTVERSION) is not a release version."; \
+		exit 1;; \
+	esac
+	@make autobuild-dev-html
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /