Also, Fix musicxml regression test to no longer duplicate the .texi files.
For this, I first need to sort the list of *.{xml,mxl,texi,tely,itexi,itely}
files and only after that rewrite all *.{mxl,xml} files to their out-www/*.ly
counterparts...
name = os.path.basename (name)
template = template % vars ()
- files.sort ()
s = "\n".join (map (name2line, files))
s = template.replace (include_snippets, s, 1)
f = "%s/%s" % (dir, name)
copy_ly (srcdir, name, tags)
for (tag, file_set) in tag_lists.items ():
- dump_file_list (os.path.join (DEST, tag + '.snippet-list'), file_set)
+ dump_file_list (os.path.join (DEST, tag + '.snippet-list'), sorted(file_set))
if unconverted:
sys.stderr.write ('These files could not be converted successfully by convert-ly:\n')
TITLE=Lilypond musicxml2ly Regression Tests
-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 $< $@