]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/mutopia-vars.make
Add '-dcrop' option to ps and svg backends
[lilypond.git] / make / mutopia-vars.make
index 84bc7bf8498bd4ca782a4cdc793cf3d7f1e6362d..60add179f276542dc4f13cb854c7e10368711132 100644 (file)
@@ -4,15 +4,13 @@ include $(make-dir)/lilypond-vars.make
 
 # LY_FILES is defined the LY make template.
 
-SCORE_LY_FILES = $(shell fgrep -l score *.ly)
+SCORE_LY_FILES = $(shell cd $(src-dir) && fgrep -l score *.ly)
 
-M4_FILES = $(wildcard *.m4)
-LYM4_FILES = $(wildcard *.lym4)
-EXTRA_DIST_FILES +=  $(M4_FILES) $(LYM4_FILES)
+ILY_FILES = $(call src-wildcard,*.ily)
 
-ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly.txt, $(examples)))
+ly_examples=$(addprefix $(outdir)/, $(addsuffix .ly, $(examples)))
+ly_examples+= $(ILY_FILES:%.ily=$(outdir)/%.ily)
 all_examples=$(examples)
-dvi_examples=$(addprefix $(outdir)/, $(addsuffix .dvi, $(all_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)))
@@ -23,7 +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)))
+score_ps = $(addprefix $(outdir)/, $(addsuffix .ps.gz, $(SCORE_LY_FILES)))