From 9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 16 Oct 2016 19:14:23 +0200 Subject: [PATCH] Issue #27896: Allow passing sphinx options to Doc/Makefile Patch written by Julien Palard. --- Doc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile index 878685dd7af..10c3288c590 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -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