mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Docs: Fix Makefile syntax (#123287)
This commit is contained in:
parent
5ff638f1b5
commit
b178beef26
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ dist:
|
||||||
# as otherwise the full latexmk process is run twice.
|
# as otherwise the full latexmk process is run twice.
|
||||||
# ($$ is needed to escape the $; https://www.gnu.org/software/make/manual/make.html#Basics-of-Variable-References)
|
# ($$ is needed to escape the $; https://www.gnu.org/software/make/manual/make.html#Basics-of-Variable-References)
|
||||||
-sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile
|
-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)
|
(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-a4.zip
|
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
|
||||||
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
|
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
|
||||||
@echo "Build finished and archived!"
|
@echo "Build finished and archived!"
|
||||||
|
@ -227,7 +227,7 @@ dist:
|
||||||
rm -rf build/latex
|
rm -rf build/latex
|
||||||
$(MAKE) latex PAPER=letter
|
$(MAKE) latex PAPER=letter
|
||||||
-sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile
|
-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)
|
(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.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
|
||||||
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
|
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
|
||||||
@echo "Build finished and archived!"
|
@echo "Build finished and archived!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue