From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:08:02 +0000 (+0200) Subject: [3.12] Docs: Drop letter PDF (GH-123912) (#123999) X-Git-Tag: v3.12.7~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3c1f3d5ff4aa1c156859ecea8d7b745fb3770b1;p=thirdparty%2FPython%2Fcpython.git [3.12] Docs: Drop letter PDF (GH-123912) (#123999) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/Doc/Makefile b/Doc/Makefile index dbd799fd4006..4a515d5a92a0 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -222,16 +222,6 @@ dist: cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2 @echo "Build finished and archived!" - # archive the letter latex - @echo "Building LaTeX (US paper)..." - rm -rf build/latex - $(MAKE) latex PAPER=letter - -sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile - (cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2) - cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip - cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2 - @echo "Build finished and archived!" - # copy the epub build @echo "Building EPUB..." rm -rf build/epub diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 9f99eea6f3c7..f69adc71f937 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -25,12 +25,7 @@ Python in one of various formats, follow one of links in this table.{% endtrans