]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-139588: Fix nondeterministic `make latex` doc build under parallel make (#151343)
authorMaciej Olko <maciej.olko@affirm.com>
Thu, 11 Jun 2026 15:13:22 +0000 (17:13 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 15:13:22 +0000 (16:13 +0100)
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."