X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fly-examples%2FGNUmakefile;h=c5c800b6e4a205b67ce8fc25164ce00ff4bc03bf;hb=0fbbdc6c58432060770d3d4f76e063c2028c0023;hp=a3ee42280b15fad5e45fbb3d65ae391c2c71513b;hpb=547a32b2fbaf533c4da03a490a316ce76085c1b1;p=lilypond.git diff --git a/Documentation/ly-examples/GNUmakefile b/Documentation/ly-examples/GNUmakefile index a3ee42280b..c5c800b6e4 100644 --- a/Documentation/ly-examples/GNUmakefile +++ b/Documentation/ly-examples/GNUmakefile @@ -10,12 +10,12 @@ OUT_PNG_PAGES = $(PNG_PAGES:%=$(outdir)/%.png) OUT_SMALL_PNG_FILES = $(OUT_PNG_FILES:%.png=%-small.png) ifeq ($(out),www) -all: $(OUT_PNG_FILES) $(OUT_SMALL_PNG_FILES) +local-WWW-1: $(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 - pngtopnm $< | pnmscale -w=600 | pnmtopng > $@ + pngtopnm $< | pnmscale -w=600 | pnmtopng > $@ 2> /dev/null