]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Implement inclusion of .ily files in MusicXML regtest page
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 14 Nov 2008 23:33:33 +0000 (00:33 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 15 Nov 2008 00:00:36 +0000 (01:00 +0100)
All files *.ily in the musicxml regtest directory are now copied to
out-www/*.ly and automatically included (with proper sorting!) into the
regtest page. This allows us to insert @section lines using an *.ily file...

input/regression/musicxml/GNUmakefile
make/musicxml-vars.make

index ae9d27a768ec517dad8c0cca4b6506580ce2ade5..92f44b68176f0d052b3e2cc248567b94728829f4 100644 (file)
@@ -3,8 +3,17 @@ depth = ../../..
 STEPMAKE_TEMPLATES=documentation texinfo tex
 LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc musicxml
 
+TITLE=Lilypond musicxml2ly Regression Tests
+
+
+ILY_FILES = $(call src-wildcard,*.ily)
+EXTRA_OUT_LY_FILES = ${ILY_FILES:%.ily=$(outdir)/%.ly}
+EXTRA_DIST_FILES += $(ILY_FILES)
+
+
 include $(depth)/make/stepmake.make
 TITLE=Lilypond musicxml2ly Regression Tests
 
-MXL_FILES := $(call src-wildcard,*.mxl)
-EXTRA_DIST_FILES += $(MXL_FILES)
+.SUFFIXES: .ily
+$(outdir)/%.ly: %.ily
+       ln -f $< $@
index a5ddb1bc3b6672c83cf0be2c58aa1f9ae611784c..55cb25b75b7ad6187250d59422c49d44c471856f 100644 (file)
@@ -1,8 +1,8 @@
 # rules for directories with MusicXML files.
 
-MUSICXML_FILES := $(call src-wildcard,*.xml)
-MUSICMXL_FILES := $(call src-wildcard,*.mxl)  # Allow .mxl for compressed files
-OUT_LY_FILES = $(sort ${MUSICXML_FILES:%.xml=$(outdir)/%.ly} ${MUSICMXL_FILES:%.mxl=$(outdir)/%.ly})
+MUSICXML_FILES = $(call src-wildcard,*.xml)
+MUSICMXL_FILES = $(call src-wildcard,*.mxl)  # Allow .mxl for compressed files
+OUT_LY_FILES = $(sort ${MUSICXML_FILES:%.xml=$(outdir)/%.ly} ${MUSICMXL_FILES:%.mxl=$(outdir)/%.ly} ${EXTRA_OUT_LY_FILES})
 OUT_FILES = $(OUT_LY_FILES)
 
 EXTRA_DIST_FILES += $(MUSICXML_FILES) $(MUSICMXL_FILES)