X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Flilypond-book-rules.make;h=b27aa56e14ca1e8e0b429e1981a0b7c46bfc3ee2;hb=1360dadfa38a00bab00f5d4c6a3c538ceb00cf87;hp=e5a03790b4ae37d9fee09a56aae7fa5303d8a122;hpb=941dff9d2a67080e0dd8474f1e70f0c72ace6424;p=lilypond.git diff --git a/make/lilypond-book-rules.make b/make/lilypond-book-rules.make index e5a03790b4..b27aa56e14 100644 --- a/make/lilypond-book-rules.make +++ b/make/lilypond-book-rules.make @@ -15,7 +15,7 @@ $(outdir)/%.html: %.xml ############## LaTeX ######################## $(outdir)/%.tex: %.lytex - $(LILYPOND_BOOK_COMMAND) --pdf -o $(outdir) $< + $(buildscript-dir)/run-and-check "$(LILYPOND_BOOK_COMMAND) --pdf -o $(outdir) $<" "$*.lytex.log" $(outdir)/%.tex: %.tex $(LILYPOND_BOOK_COMMAND) --pdf -o $(outdir) $< @@ -23,10 +23,10 @@ $(outdir)/%.tex: %.tex $(outdir)/%.tex: %.latex $(LILYPOND_BOOK_COMMAND) --pdf -o $(outdir) $< -# Add the tex => pdf rule only if we have dblatex +# Add the tex => pdf rule only if we have pdflatex ifeq (,$(findstring pdflatex,$(MISSING_OPTIONAL))) $(outdir)/%.pdf: $(outdir)/%.tex - cd $(outdir) && $(PDFLATEX) $(notdir $<) + cd $(outdir) && $(buildscript-dir)/run-and-check "$(PDFLATEX) -halt-on-error $(notdir $<)" "$*.pdflatex.log" endif ############## Texinfo ###################### @@ -52,5 +52,5 @@ $(outdir)/%.xml: %.lyxml # Add the xml => pdf rule only if we have dblatex ifeq (,$(findstring dblatex,$(MISSING_OPTIONAL))) $(outdir)/%.pdf: $(outdir)/%.xml - cd $(outdir) && $(DBLATEX) $(notdir $<) + cd $(outdir) && $(buildscript-dir)/run-and-check "$(DBLATEX) $(notdir $<)" "$*.dblatex.log" endif