]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/musicxml/GNUmakefile
Merge branch 'master' of ssh://jneem@git.sv.gnu.org/srv/git/lilypond into tmp
[lilypond.git] / input / regression / musicxml / GNUmakefile
index 92f44b68176f0d052b3e2cc248567b94728829f4..0373860e6c8222ec23463a08ce184cfe8d7a40ba 100644 (file)
@@ -3,17 +3,23 @@ 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)
+# Urgh, how can I do two replacements at once without messing up the order of the list?
+TMP = $(sort $(MUSICXML_FILES) $(MUSICMXL_FILES) $(TEXINFO_SOURCES) )
+TMP1 = ${TMP:%.xml=$(outdir)/%.ly}
+COLLATED_FILES = ${TMP1:%.mxl=$(outdir)/%.ly}
 
 
 include $(depth)/make/stepmake.make
-TITLE=Lilypond musicxml2ly Regression Tests
 
-.SUFFIXES: .ily
-$(outdir)/%.ly: %.ily
-       ln -f $< $@
+
+TITLE=Unofficial MusicXML test suite
+TEST_SUITE_VERSION=0.1
+
+local-WWW-2: zip
+
+zip: $(outdir)/MusicXML-TestSuite-$(TEST_SUITE_VERSION).zip
+
+$(outdir)/MusicXML-TestSuite-$(TEST_SUITE_VERSION).zip: $(MUSICXML_FILES) $(MUSICMXL_FILES)
+       $(ZIP) -r $@ $(MUSICXML_FILES) $(MUSICMXL_FILES)