STEPMAKE_TEMPLATES=documentation texinfo tex
LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc musicxml
-TITLE=Lilypond musicxml2ly Regression Tests
+EXTRA_DIST_FILES = LICENSE
+TEXI2HTML_FLAGS += --nomenu
-OUT_ITEXI_FILES = ${ITEXI_FILES:%.itexi=$(outdir)/%.itexi}
-
-COLLATED_FILES = $(sort $(OUT_LY_FILES) $(OUT_ITEXI_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
-$(outdir)/%.itexi: %.itexi
- ln -f $< $@
+
+TITLE=Unofficial MusicXML test suite
+TEST_SUITE_VERSION=0.1
+
+ifeq ($(out),www)
+local-WWW-2: zip
+endif
+
+zip: $(outdir)/MusicXML-TestSuite-$(TEST_SUITE_VERSION).zip
+
+$(outdir)/MusicXML-TestSuite-$(TEST_SUITE_VERSION).zip: $(MUSICXML_FILES) $(MUSICMXL_FILES) LICENSE
+ $(ZIP) -q -r $@ $(addprefix $(src-dir)/,$(MUSICXML_FILES)) $(addprefix $(src-dir)/,$(MUSICMXL_FILES)) LICENSE