Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1201)

Delta Between Two Patch Sets: Documentation/ly-examples/GNUmakefile

Issue 557080043: Issue 5568: make build output terse by default (Closed)
Left Patch Set: Created 4 years, 5 months ago
Right Patch Set: s&r ly_info -> ly_progress Created 4 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Documentation/logo/GNUmakefile ('k') | Documentation/misc/GNUmakefile » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 depth=../.. 1 depth=../..
2 LOCALSTEPMAKE_TEMPLATES=lilypond ly 2 LOCALSTEPMAKE_TEMPLATES=lilypond ly
3 include $(depth)/make/stepmake.make 3 include $(depth)/make/stepmake.make
4 4
5 LILYPOND_PREVIEW = $(LILYPOND_BINARY) -dpreview -dresolution=150 5 LILYPOND_PREVIEW = $(LILYPOND_BINARY) -dpreview -dresolution=150
6 6
7 OUT_PNG_FILES = $(LY_FILES:%.ly=$(outdir)/%.png) 7 OUT_PNG_FILES = $(LY_FILES:%.ly=$(outdir)/%.png)
8 OUT_PNG_PAGES = $(PNG_PAGES:%=$(outdir)/%.png) 8 OUT_PNG_PAGES = $(PNG_PAGES:%=$(outdir)/%.png)
9 9
10 OUT_SMALL_PNG_FILES = $(OUT_PNG_FILES:%.png=%-small.png) 10 OUT_SMALL_PNG_FILES = $(OUT_PNG_FILES:%.png=%-small.png)
11 11
12 ifeq ($(out),www) 12 ifeq ($(out),www)
13 local-WWW-1: $(OUT_PNG_FILES) $(OUT_SMALL_PNG_FILES) 13 local-WWW-1: $(OUT_PNG_FILES) $(OUT_SMALL_PNG_FILES)
14 endif 14 endif
15 15
16 $(outdir)/%.png: %.ly 16 $(outdir)/%.png: %.ly
17 » $(call ly_info,Making $(abspath $@) < ly) 17 » $(call ly_progress,Making,$@,< ly)
18 $(buildscript-dir)/run-and-check "$(LILYPOND_PREVIEW) -o $(outdir) $<" " $*.preview.log" 18 $(buildscript-dir)/run-and-check "$(LILYPOND_PREVIEW) -o $(outdir) $<" " $*.preview.log"
19 mv $(outdir)/$*.preview.png $@ 19 mv $(outdir)/$*.preview.png $@
20 20
21 $(outdir)/%-small.png: $(outdir)/%.png 21 $(outdir)/%-small.png: $(outdir)/%.png
22 » $(call ly_info,Making $(abspath $@)) 22 » $(call ly_progress,Making,$@,)
23 pngtopnm $< | pnmscale -w=600 | pnmtopng > $@ 2> /dev/null 23 pngtopnm $< | pnmscale -w=600 | pnmtopng > $@ 2> /dev/null
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b