]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lilypond-book-rules.make
Various updates to reduce make doc output
[lilypond.git] / make / lilypond-book-rules.make
index e5a03790b4ae37d9fee09a56aae7fa5303d8a122..946e5a4759c61887101adf4bb8b7a6815b4b0611 100644 (file)
@@ -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 ######################