From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 11 Jun 2026 15:21:26 +0000 (+0200) Subject: [3.15] gh-139588: Fix nondeterministic `make latex` doc build under parallel make... X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=cedb4d65f1878e49ed9b40568d6e609b6bb4de4b;p=thirdparty%2FPython%2Fcpython.git [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 --- 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."