]> git.donarmstrong.com Git - lilypond.git/blob - make/mutopia-vars.make
Merge branch 'master' of carldsorensen@git.sv.gnu.org:/srv/git/lilypond
[lilypond.git] / make / mutopia-vars.make
1
2 # UGH UGH
3 include $(make-dir)/lilypond-vars.make
4
5 # LY_FILES is defined the LY make template.
6
7 SCORE_LY_FILES = $(shell cd $(src-dir) && fgrep -l score *.ly)
8
9 ILY_FILES = $(call src-wildcard,*.ily)
10 M4_FILES = $(call src-wildcard,*.m4)
11 LYM4_FILES = $(call src-wildcard,*.lym4)
12 EXTRA_DIST_FILES += $(M4_FILES) $(LYM4_FILES)
13
14 ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly, $(examples)))
15 ly_examples+= $(ILY_FILES:%.ily=$(outdir)/%.ily)
16 all_examples=$(examples)
17 ps_examples=$(addprefix $(outdir)/, $(addsuffix .ps.gz, $(all_examples)))
18 pdf_examples=$(addprefix $(outdir)/, $(addsuffix .pdf, $(all_examples)))
19 gif_examples=$(addprefix $(outdir)/, $(addsuffix .gif, $(all_examples)))
20 png_examples=$(addprefix $(outdir)/, $(addsuffix .png, $(all_examples)))
21
22 html_subdirs=$(addprefix --subdirs ,$(SUBDIRS))
23
24
25 name-stem= $(notdir $(basename $<))
26
27 OUT_FILES = $(addprefix $(outdir)/,$(M4_FILES:%.m4=%)) \
28  $(addprefix $(outdir)/,$(LYM4_FILES:%.lym4=%.ly))
29
30 score_ps = $(addprefix $(outdir)/, $(addsuffix .ps.gz, $($SCORE_LY_FILES)))