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

Side by Side Diff: Documentation/ly-examples/GNUmakefile

Issue 557080043: Issue 5568: make build output terse by default (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « Documentation/logo/GNUmakefile ('k') | Documentation/misc/GNUmakefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_progress,Making,$@,< ly)
17 $(buildscript-dir)/run-and-check "$(LILYPOND_PREVIEW) -o $(outdir) $<" " $*.preview.log" 18 $(buildscript-dir)/run-and-check "$(LILYPOND_PREVIEW) -o $(outdir) $<" " $*.preview.log"
18 mv $(outdir)/$*.preview.png $@ 19 mv $(outdir)/$*.preview.png $@
19 20
20 $(outdir)/%-small.png: $(outdir)/%.png 21 $(outdir)/%-small.png: $(outdir)/%.png
22 $(call ly_progress,Making,$@,)
21 pngtopnm $< | pnmscale -w=600 | pnmtopng > $@ 2> /dev/null 23 pngtopnm $< | pnmscale -w=600 | pnmtopng > $@ 2> /dev/null
OLDNEW
« no previous file with comments | « Documentation/logo/GNUmakefile ('k') | Documentation/misc/GNUmakefile » ('j') | no next file with comments »

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