]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/musicxml/GNUmakefile
Update documentation targets
[lilypond.git] / input / regression / musicxml / GNUmakefile
index 92f44b68176f0d052b3e2cc248567b94728829f4..b5ca56513ec43859e726e737fc9ac9440579caa5 100644 (file)
@@ -3,17 +3,25 @@ depth = ../../..
 STEPMAKE_TEMPLATES=documentation texinfo tex
 LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc musicxml
 
-TITLE=Lilypond musicxml2ly Regression Tests
+TEXI2HTML_FLAGS += --nomenu
 
-
-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
+
+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)
+       $(ZIP) -r $@ $(addprefix $(src-dir)/,$(MUSICXML_FILES)) $(addprefix $(src-dir)/,$(MUSICMXL_FILES))