[Python-checkins] cpython: Issue #27896: Allow passing sphinx options to Doc/Makefile

victor.stinner python-checkins at python.org
Sun Oct 16 13:15:48 EDT 2016


https://hg.python.org/cpython/rev/3884a7e3df1c
changeset:   104510:3884a7e3df1c
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Oct 16 19:14:23 2016 +0200
summary:
  Issue #27896: Allow passing sphinx options to Doc/Makefile

Patch written by Julien Palard.

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


diff --git a/Doc/Makefile b/Doc/Makefile
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -162,12 +162,12 @@
 
 # for development releases: always build
 autobuild-dev:
-	make dist SPHINXOPTS='-A daily=1 -A versionswitcher=1'
+	make dist SPHINXOPTS='$(SPHINXOPTS) -A daily=1 -A versionswitcher=1'
 	-make suspicious
 
 # for quick rebuilds (HTML only)
 autobuild-dev-html:
-	make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
+	make html SPHINXOPTS='$(SPHINXOPTS) -A daily=1 -A versionswitcher=1'
 
 # 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

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


More information about the Python-checkins mailing list