3 include $(make-dir)/lilypond-vars.make
5 # LY_FILES is defined the LY make template.
7 SCORE_LY_FILES = $(shell cd $(src-dir) && fgrep -l score *.ly)
9 M4_FILES = $(call src-wildcard,*.m4)
10 LYM4_FILES = $(call src-wildcard,*.lym4)
11 EXTRA_DIST_FILES += $(M4_FILES) $(LYM4_FILES)
13 ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly, $(examples)))
14 all_examples=$(examples)
15 ps_examples=$(addprefix $(outdir)/, $(addsuffix .ps.gz, $(all_examples)))
16 pdf_examples=$(addprefix $(outdir)/, $(addsuffix .pdf, $(all_examples)))
17 gif_examples=$(addprefix $(outdir)/, $(addsuffix .gif, $(all_examples)))
18 png_examples=$(addprefix $(outdir)/, $(addsuffix .png, $(all_examples)))
20 html_subdirs=$(addprefix --subdirs ,$(SUBDIRS))
23 name-stem= $(notdir $(basename $<))
25 OUT_FILES = $(addprefix $(outdir)/,$(M4_FILES:%.m4=%)) \
26 $(addprefix $(outdir)/,$(LYM4_FILES:%.lym4=%.ly))
28 score_ps = $(addprefix $(outdir)/, $(addsuffix .ps.gz, $($SCORE_LY_FILES)))