From: Phil Holmes Date: Sat, 25 Feb 2012 16:53:34 +0000 (+0000) Subject: More reductions in make doc X-Git-Tag: release/2.15.33-1~1^2^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c376e5cbe45f91c945b26ab4bdfda76c330e3fee;p=lilypond.git More reductions in make doc Pushes the output from making midi .ly files and ly-examples to logfiles. --- diff --git a/Documentation/ly-examples/GNUmakefile b/Documentation/ly-examples/GNUmakefile index a3ee42280b..b4e4d2c0be 100644 --- a/Documentation/ly-examples/GNUmakefile +++ b/Documentation/ly-examples/GNUmakefile @@ -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 diff --git a/make/midi-rules.make b/make/midi-rules.make index a5cee58b96..7b3f149d96 100644 --- a/make/midi-rules.make +++ b/make/midi-rules.make @@ -5,7 +5,7 @@ $(outdir)/%.ly: %.midi $(outdir)/%.midi: %.ly $(LILYPOND_BINARY) touch $(foreach f, $(HEADER_FIELDS), $(outdir)/$*.$f) - $(LILYPOND_BINARY) $(HEADER_FIELDS:%=-H %) -o $(outdir) $< + $(buildscript-dir)/run-and-check "$(LILYPOND_BINARY) $(HEADER_FIELDS:%=-H %) -o $(outdir) $<" "$*.log" cp $< $(outdir) $(outdir)/%-midi.ly: $(outdir)/%.midi $(MIDI2LY)