]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/ly-examples/GNUmakefile
More reductions in make doc
[lilypond.git] / Documentation / ly-examples / GNUmakefile
index a3ee42280b15fad5e45fbb3d65ae391c2c71513b..b4e4d2c0be13cbeceddfac602103a0fb93e0341a 100644 (file)
@@ -14,7 +14,7 @@ all: $(OUT_PNG_FILES) $(OUT_SMALL_PNG_FILES)
 endif
 
 $(outdir)/%.png: %.ly
-       $(LILYPOND_PREVIEW) -o $(outdir) $<
+       $(buildscript-dir)/run-and-check "$(LILYPOND_PREVIEW) -o $(outdir) $<" "$*.preview.log"
        mv $(outdir)/$*.preview.png $@
 
 $(outdir)/%-small.png: $(outdir)/%.png