From c376e5cbe45f91c945b26ab4bdfda76c330e3fee Mon Sep 17 00:00:00 2001 From: Phil Holmes Date: Sat, 25 Feb 2012 16:53:34 +0000 Subject: [PATCH] More reductions in make doc Pushes the output from making midi .ly files and ly-examples to logfiles. --- Documentation/ly-examples/GNUmakefile | 2 +- make/midi-rules.make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5