Skip to content

Commit b178bee

Browse files
authored
Docs: Fix Makefile syntax (#123287)
1 parent 5ff638f commit b178bee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ dist:
217217
# as otherwise the full latexmk process is run twice.
218218
# ($$ is needed to escape the $; https://www.gnu.org/software/make/manual/make.html#Basics-of-Variable-References)
219219
-sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile
220-
(cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2)
220+
(cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2)
221221
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
222222
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
223223
@echo "Build finished and archived!"
@@ -227,7 +227,7 @@ dist:
227227
rm -rf build/latex
228228
$(MAKE) latex PAPER=letter
229229
-sed -i 's/: all-$$(FMT)/:/' build/latex/Makefile
230-
(cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2)
230+
(cd build/latex; $(MAKE) clean && $(MAKE) --jobs=$$((`nproc`+1)) --output-sync LATEXMKOPTS='-quiet' all-pdf && $(MAKE) FMT=pdf zip bz2)
231231
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
232232
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
233233
@echo "Build finished and archived!"

0 commit comments

Comments
 (0)