We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
dist-pdf
1 parent6103770 commit9c39946Copy full SHA for 9c39946
Doc/Makefile
@@ -241,7 +241,8 @@ dist-pdf:
241
# as otherwise the full latexmk process is run twice.
242
# ($$ is needed to escape the $; https://www.gnu.org/software/make/manual/make.html#Basics-of-Variable-References)
243
-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)
+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)
246
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
247
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
248
@echo"Build finished and archived!"