3 include $(make-dir
)/lilypond-vars.make
5 LY_FILES
= $(wildcard *.ly
)
6 SCORE_LY_FILES
= $(shell fgrep
-l score
*.ly
)
8 FLY_FILES
= $(wildcard *.fly
)
9 SLY_FILES
= $(wildcard *.sly
)
11 M4_FILES
= $(wildcard *.m4
)
12 LYM4_FILES
= $(wildcard *.lym4
)
13 EXTRA_DIST_FILES
+= $(FLY_FILES
) $(SLY_FILES
) $(LY_FILES
) $(M4_FILES
) $(LYM4_FILES
)
17 ly_examples
=$(addprefix $(outdir
)/, $(addsuffix .ly.txt
, $(examples
)))
18 fly_examples
=$(addprefix $(outdir
)/, $(addsuffix .fly.txt
, $(flexamples
)))
19 sly_examples
=$(addprefix $(outdir
)/, $(addsuffix .sly.txt
, $(slexamples
)))
21 all_examples
=$(flexamples
) $(slexamples
) $(examples
)
23 ps_examples
=$(addprefix $(outdir
)/, $(addsuffix .ps.gz
, $(all_examples
)))
24 gif_examples
=$(addprefix $(outdir
)/, $(addsuffix .gif
, $(all_examples
)))
25 png_examples
=$(addprefix $(outdir
)/, $(addsuffix .png
, $(all_examples
)))
27 html_subdirs
=$(addprefix --subdirs
,$(SUBDIRS
))
30 name-stem
= $(notdir $(basename $<))
32 OUT_FILES
= $(addprefix $(outdir
)/,$(M4_FILES
:%.m4
=%)) \
33 $(addprefix $(outdir
)/,$(LYM4_FILES
:%.lym4
=%.ly
))
35 score_ps
= $(addprefix $(outdir
)/, $(addsuffix .ps.gz
, $($SCORE_LY_FILES)))