Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c39946

Browse files
authored
gh-139741: Makedist-pdf docs archive build work for macOS (#140837)
1 parent6103770 commit9c39946

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Doc/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ dist-pdf:
241241
# as otherwise the full latexmk process is run twice.
242242
# ($$ is needed to escape the $; https://www.gnu.org/software/make/manual/make.html#Basics-of-Variable-References)
243243
-sed -i's/: all-$$(FMT)/:/' build/latex/Makefile
244-
(cd build/latex;$(MAKE) clean&&$(MAKE) --jobs=$$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf&&$(MAKE) FMT=pdf zip bz2)
244+
if [-n"$(filter output-sync,$(value .FEATURES))" ];then OUTPUTSYNC=--output-sync;else OUTPUTSYNC=;fi&&\
245+
(cd build/latex;$(MAKE) clean&&$(MAKE) --jobs=$$((`getconf _NPROCESSORS_ONLN`+1))$$OUTPUTSYNC LATEXMKOPTS='-quiet' all-pdf&&$(MAKE) FMT=pdf zip bz2)
245246
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
246247
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
247248
@echo"Build finished and archived!"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp