From: Reinhold Kainhofer Date: Fri, 14 Nov 2008 23:33:33 +0000 (+0100) Subject: MusicXML: Implement inclusion of .ily files in MusicXML regtest page X-Git-Tag: release/2.11.64-1~25 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9297d452a178b71c25218959c963e46a94b9b4b6;p=lilypond.git MusicXML: Implement inclusion of .ily files in MusicXML regtest page 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... --- diff --git a/input/regression/musicxml/GNUmakefile b/input/regression/musicxml/GNUmakefile index ae9d27a768..92f44b6817 100644 --- a/input/regression/musicxml/GNUmakefile +++ b/input/regression/musicxml/GNUmakefile @@ -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 $< $@ diff --git a/make/musicxml-vars.make b/make/musicxml-vars.make index a5ddb1bc3b..55cb25b75b 100644 --- a/make/musicxml-vars.make +++ b/make/musicxml-vars.make @@ -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)