https://github.com/python/cpython/commit/cedb4d65f1878e49ed9b40568d6e609b6bb4de4b
commit: cedb4d65f1878e49ed9b40568d6e609b6bb4de4b
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-06-11T15:21:26Z
summary:

[3.15] gh-139588: Fix nondeterministic `make latex` doc build under parallel 
make (GH-151343) (#151352)

(cherry picked from commit b9bffc09a6e47959cb5c306040fd0bfd77ae2786)

Co-authored-by: Maciej Olko <[email protected]>

files:
M Doc/Makefile

diff --git a/Doc/Makefile b/Doc/Makefile
index 60970d50833f14..d77ece1e681bcf 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -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."

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to