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