From 9297d452a178b71c25218959c963e46a94b9b4b6 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sat, 15 Nov 2008 00:33:33 +0100 Subject: [PATCH] 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... --- input/regression/musicxml/GNUmakefile | 13 +++++++++++-- make/musicxml-vars.make | 6 +++--- 2 files changed, 14 insertions(+), 5 deletions(-) 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) -- 2.39.2