]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-127356: Fix prepend doctrees directory for gettext target (GH-127357) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 1 Dec 2024 09:24:18 +0000 (10:24 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Dec 2024 09:24:18 +0000 (09:24 +0000)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Doc/Makefile

index 22e43ee3e542ee536c603eabcbc8d97c2a6c2dfd..4a704ad58b33d31f8ccc2c08ddab49d94665a308 100644 (file)
@@ -144,7 +144,7 @@ pydoc-topics: build
 
 .PHONY: gettext
 gettext: BUILDER = gettext
-gettext: SPHINXOPTS += -d build/doctrees-gettext
+gettext: override SPHINXOPTS := -d build/doctrees-gettext $(SPHINXOPTS)
 gettext: build
 
 .PHONY: htmlview