Issue #27896: Allow passing sphinx options to Doc/Makefile

Patch written by Julien Palard.
This commit is contained in:
Victor Stinner 2016-10-16 19:14:23 +02:00
parent 4186222e63
commit 57acb82d27
1 changed files with 2 additions and 2 deletions

View File

@ -162,12 +162,12 @@ serve:
# 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