]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-vars.make
($(addprefix $(outdir)/,$(LYM4_FILES):
[lilypond.git] / make / mutopia-vars.make
index 92ef7c0e5a478863cdf90bfeae5594fb587954ef..fd05f5444dee59d46b7b04fc8fd441d3a763c16a 100644 (file)
@@ -2,21 +2,20 @@
 # UGH UGH
 include $(make-dir)/lilypond-vars.make
 
-FLY_FILES = $(wildcard *.fly)
-LY_FILES = $(wildcard *.ly)
+# LY_FILES is defined the LY make template.
+
+SCORE_LY_FILES = $(shell fgrep -l score *.ly)
+
 M4_FILES = $(wildcard *.m4)
 LYM4_FILES = $(wildcard *.lym4)
-EXTRA_DIST_FILES += $(FLY_FILES) $(LY_FILES) $(M4_FILES) $(LYM4_FILES)
-
-# WWW.make
+EXTRA_DIST_FILES +=  $(M4_FILES) $(LYM4_FILES)
 
 ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples)))
-fly_examples=$(addprefix $(outdir)/, $(addsuffix .fly.txt, $(flexamples)))
-
-all_examples=$(flexamples) $(examples)
-
+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)))
 
 html_subdirs=$(addprefix --subdirs ,$(SUBDIRS))
 
@@ -25,3 +24,5 @@ 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)))