X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-vars.make;h=60add179f276542dc4f13cb854c7e10368711132;hb=HEAD;hp=154917110b1af7d4a917879fa12702308430853f;hpb=796c3d2eba8f5e9151a36ffcb3d0a26dfd4ffdb5;p=lilypond.git diff --git a/make/mutopia-vars.make b/make/mutopia-vars.make index 154917110b..60add179f2 100644 --- a/make/mutopia-vars.make +++ b/make/mutopia-vars.make @@ -2,23 +2,17 @@ # UGH UGH include $(make-dir)/lilypond-vars.make -LY_FILES = $(wildcard *.ly) -FLY_FILES = $(wildcard *.fly) -SLY_FILES = $(wildcard *.sly) +# LY_FILES is defined the LY make template. -M4_FILES = $(wildcard *.m4) -LYM4_FILES = $(wildcard *.lym4) -EXTRA_DIST_FILES += $(FLY_FILES) $(SLY_FILES) $(LY_FILES) $(M4_FILES) $(LYM4_FILES) +SCORE_LY_FILES = $(shell cd $(src-dir) && fgrep -l score *.ly) -# WWW.make - -ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples))) -fly_examples=$(addprefix $(outdir)/, $(addsuffix .fly.txt, $(flexamples))) -sly_examples=$(addprefix $(outdir)/, $(addsuffix .sly.txt, $(slexamples))) - -all_examples=$(flexamples) $(slexamples) $(examples) +ILY_FILES = $(call src-wildcard,*.ily) +ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly, $(examples))) +ly_examples+= $(ILY_FILES:%.ily=$(outdir)/%.ily) +all_examples=$(examples) ps_examples=$(addprefix $(outdir)/, $(addsuffix .ps.gz, $(all_examples))) +pdf_examples=$(addprefix $(outdir)/, $(addsuffix .pdf, $(all_examples))) gif_examples=$(addprefix $(outdir)/, $(addsuffix .gif, $(all_examples))) png_examples=$(addprefix $(outdir)/, $(addsuffix .png, $(all_examples))) @@ -27,5 +21,4 @@ html_subdirs=$(addprefix --subdirs ,$(SUBDIRS)) name-stem= $(notdir $(basename $<)) -OUT_FILES = $(addprefix $(outdir)/,$(M4_FILES:%.m4=%)) \ - $(addprefix $(outdir)/,$(LYM4_FILES:%.lym4=%.ly)) +score_ps = $(addprefix $(outdir)/, $(addsuffix .ps.gz, $(SCORE_LY_FILES)))