X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fmutopia-vars.make;h=60add179f276542dc4f13cb854c7e10368711132;hb=HEAD;hp=d140f286cf24d9dbe250c5b5347f9df84196280a;hpb=b66b5013d3800245b2f185e2d86aa55a743cd8b5;p=lilypond.git diff --git a/make/mutopia-vars.make b/make/mutopia-vars.make index d140f286cf..60add179f2 100644 --- a/make/mutopia-vars.make +++ b/make/mutopia-vars.make @@ -2,20 +2,17 @@ # UGH UGH include $(make-dir)/lilypond-vars.make -FLY_FILES = $(wildcard *.fly) -LY_FILES = $(wildcard *.ly) -M4_FILES = $(wildcard *.m4) -LYM4_FILES = $(wildcard *.lym4) -EXTRA_DIST_FILES += $(FLY_FILES) $(LY_FILES) $(M4_FILES) $(LYM4_FILES) +# LY_FILES is defined the LY make template. -# WWW.make +SCORE_LY_FILES = $(shell cd $(src-dir) && fgrep -l score *.ly) -ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples))) -fly_examples=$(addprefix $(outdir)/, $(addsuffix .fly.txt, $(flexamples))) - -all_examples=$(flexamples) $(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))) @@ -24,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)))