]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] gh-139588: Fix nondeterministic `make latex` doc build under parallel make...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Jun 2026 15:21:26 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 15:21:26 +0000 (15:21 +0000)
(cherry picked from commit b9bffc09a6e47959cb5c306040fd0bfd77ae2786)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Doc/Makefile

index 60970d50833f147b21fbeca77c394b43bf8673aa..d77ece1e681bcfcd0c0f6ecdd1c5c7d5bda18ec0 100644 (file)
@@ -88,9 +88,9 @@ htmlhelp: build
              "build/htmlhelp/pydoc.hhp project file."
 
 .PHONY: latex
-latex: _ensure-sphinxcontrib-svg2pdfconverter
 latex: BUILDER = latex
-latex: build
+latex: _ensure-sphinxcontrib-svg2pdfconverter
+       $(MAKE) build BUILDER=$(BUILDER)
        @echo "Build finished; the LaTeX files are in build/latex."
        @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
              "run these through (pdf)latex."