From: Maciej Olko Date: Thu, 11 Jun 2026 15:13:22 +0000 (+0200) Subject: gh-139588: Fix nondeterministic `make latex` doc build under parallel make (#151343) X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=b9bffc09a6e47959cb5c306040fd0bfd77ae2786;p=thirdparty%2FPython%2Fcpython.git gh-139588: Fix nondeterministic `make latex` doc build under parallel make (#151343) --- diff --git a/Doc/Makefile b/Doc/Makefile index 60970d50833f..d77ece1e681b 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."