From: Han-Wen Nienhuys Date: Wed, 7 Aug 2002 22:52:55 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release/1.5.72~29 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=da86396728f2f536ace0f6d1884437f733714d0a;p=lilypond.git *** empty log message *** --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 97db8f7136..b595810961 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -122,7 +122,7 @@ default: $(config_h) builddir-setup builddir-setup: $(builddir)/share/lilypond-force $(builddir)/share/lilypond-force: - # Preparing LilyPond tree for builddir exec +# Preparing LilyPond tree for builddir exec @echo Making $(builddir)/share @cd $(builddir) && rm -rf share @mkdir -p $(builddir)/share/lilypond diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index 14049d621f..1ecb381f5a 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -915,24 +915,24 @@ if 1: if 1: def conv (str): - break_dict = { - "Instrument_name": "instrument-name", - "Left_edge_item": "left-edge", - "Span_bar": "span-bar", - "Breathing_sign": "breathing-sign", - "Staff_bar": "staff-bar", - "Clef_item": "clef", - "Key_item": "key-signature", - "Time_signature": "time-signature", - "Custos": "custos" - } + def func(match): - props = m.group (1) + break_dict = { + "Instrument_name": "instrument-name", + "Left_edge_item": "left-edge", + "Span_bar": "span-bar", + "Breathing_sign": "breathing-sign", + "Staff_bar": "staff-bar", + "Clef_item": "clef", + "Key_item": "key-signature", + "Time_signature": "time-signature", + "Custos": "custos" + } + props = match.group (1) for (k,v) in break_dict.items(): props = re.sub (k, v, props) + return "breakAlignOrder = #'(%s)" % props - - return "breakAlignOrder = #'( %s )" % props str = re.sub (r"breakAlignOrder *= *#'\(([a-z_A-Z ]+)\)", func, str) return str