https://github.com/python/cpython/commit/b9bffc09a6e47959cb5c306040fd0bfd77ae2786
commit: b9bffc09a6e47959cb5c306040fd0bfd77ae2786
branch: main
author: Maciej Olko <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-06-11T16:13:22+01:00
summary:

gh-139588: Fix nondeterministic `make latex` doc build under parallel make 
(#151343)

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