]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-127356: Fix prepend doctrees directory for gettext target (#127357)
authorRafael Fontenelle <rffontenelle@users.noreply.github.com>
Sun, 1 Dec 2024 09:15:44 +0000 (06:15 -0300)
committerGitHub <noreply@github.com>
Sun, 1 Dec 2024 09:15:44 +0000 (11:15 +0200)
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