File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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!"
You can’t perform that action at this time.
0 commit comments