https://github.com/python/cpython/commit/86a67f8accf0846898f5ca1334c818d48fa886f6
commit: 86a67f8accf0846898f5ca1334c818d48fa886f6
branch: 3.11
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2026-03-06T00:30:59+02:00
summary:
[3.11] Add `mkdir`s to fix 3.11 docs build (#145571)
files:
M Doc/Makefile
diff --git a/Doc/Makefile b/Doc/Makefile
index c558eb469a56f4..5dfa3c066ac7a4 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -201,6 +201,7 @@ dist:
.PHONY: dist-html
dist-html:
# archive the HTML
+ mkdir -p dist
make html
cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
tar -C dist -cf dist/python-$(DISTVERSION)-docs-html.tar
python-$(DISTVERSION)-docs-html
@@ -212,6 +213,7 @@ dist-html:
.PHONY: dist-text
dist-text:
# archive the text build
+ mkdir -p dist
make text
cp -pPR build/text dist/python-$(DISTVERSION)-docs-text
tar -C dist -cf dist/python-$(DISTVERSION)-docs-text.tar
python-$(DISTVERSION)-docs-text
@@ -223,6 +225,7 @@ dist-text:
.PHONY: dist-pdf
dist-pdf:
# archive the A4 latex
+ mkdir -p dist
rm -rf build/latex
make latex PAPER=a4
-sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
@@ -241,6 +244,7 @@ dist-pdf:
.PHONY: dist-epub
dist-epub:
# copy the epub build
+ mkdir -p dist
rm -rf build/epub
make epub
cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
@@ -248,6 +252,7 @@ dist-epub:
.PHONY: dist-texinfo
dist-texinfo:
# archive the texinfo build
+ mkdir -p dist
rm -rf build/texinfo
make texinfo
make info --directory=build/texinfo
_______________________________________________
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]