@@ -182,7 +182,7 @@ $(branch-output)/singlehtml/contents.html:$(branch-output)/singlehtml
182
182
# Building and Linking the ePub and LaTeX Builds.
183
183
#
184
184
$(branch-output ) /latex/MongoDB.tex :latex
185
- $(branch-output ) /latex/MongoDB.pdf :$(branch-output ) /latex/MongoDB-Manual .tex
185
+ $(branch-output ) /latex/MongoDB.pdf :$(branch-output ) /latex/MongoDB.tex
186
186
$(branch-output ) /latex/MongoDB-Manual.tex :$(branch-output ) /latex/MongoDB.tex
187
187
@$(PYTHONBIN ) bin/copy-if-needed.py -i $< -o $@ -b pdf
188
188
$(branch-output ) /latex/MongoDB-Manual.pdf :$(branch-output ) /latex/MongoDB-Manual.tex
@@ -210,10 +210,10 @@ $(public-branch-output)/single:$(branch-output)/singlehtml
210
210
@mkdir -p $@
211
211
@cp -R $< /* $@
212
212
@rm -f $@ /contents.html
213
- @echo [SINGLE ]: migrated singlehtml files ' $@'
213
+ @echo [single ]: migrated singlehtml files ' $@'
214
214
$(public-branch-output ) /single/search.html :$(branch-output ) /dirhtml/search/index.html
215
215
@cp $< $@
216
- @echo [SINGLE ]: migrated search page ' $@'
216
+ @echo [single ]: migrated search page ' $@'
217
217
$(public-branch-output ) /single/index.html :$(branch-output ) /singlehtml/contents.html
218
218
@cp $< $@
219
219
@sed $(SED_ARGS_FILE ) -e ' s/href="contents.html/href="index.html/g' \
@@ -444,7 +444,7 @@ doctest:
444
444
latex :
445
445
@echo [latex]: starting TeX file generation at ` date` .
446
446
@mkdir -p $(branch-output ) /latex
447
- @echo [test ]: created $(branch-output ) /latex
447
+ @echo [latex ]: created $(branch-output ) /latex
448
448
$(SPHINXBUILD ) -b latex $(ALLSPHINXOPTS ) $(branch-output ) /latex
449
449
@echo [latex]: TeX file generated at ` date` .
450
450
latexpdf :latex
@@ -463,15 +463,16 @@ PDFLATEXCOMMAND = TEXINPUTS=".:$(branch-output)/latex/:" pdflatex --interaction
463
463
464
464
% .pdf :% .tex
465
465
@echo [pdf]: pdf compilation started at ` date` .
466
- @$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' > | $@ .log
466
+ @touch $(basename $@ ) -pdflatex.log
467
+ @$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $(basename $@ ) -pdflatex.log
467
468
@echo [pdf]: \( 1/4\) pdflatex $<
468
- @-makeindex -s $(branch-output ) /latex/python.ist ' $(basename $<).idx' >> $@ .log 2>&1
469
+ @-makeindex -s $(branch-output ) /latex/python.ist ' $(basename $<).idx' >> $( basename $@ ) -pdflatex .log 2>&1
469
470
@echo [pdf]: \( 2/4\) Indexing: $(basename $< ) .idx
470
- @$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $@ .log
471
+ @$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $( basename $@ ) -pdflatex .log
471
472
@echo [pdf]: \( 3/4\) pdflatex $<
472
- @$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $@ .log
473
+ @$(PDFLATEXCOMMAND ) $(LATEXOPTS ) ' $<' >> $( basename $@ ) -pdflatex .log
473
474
@echo [pdf]: \( 4/4\) pdflatex $<
474
- @echo [pdf]: see ' $@ .log' for a full report of the pdf build process.
475
+ @echo [pdf]: see ' $(basename $@)-pdflatex .log' for a full report of the pdf build process.
475
476
@echo [pdf]: pdf compilation complete at ` date` .
476
477
477
478
# #########################################################################
0 commit comments