X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fauxiliar%2Fmakelsr.py;h=71c8179f36721a047821e23cd25d9bf20fbe3618;hb=HEAD;hp=8d06023b01375455e2453bff0dc6e5ac4b3c1bca;hpb=8247813bc580a90f7838846dc38aad5d49ac9d9d;p=lilypond.git diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index 8d06023b01..71c8179f36 100755 --- a/scripts/auxiliar/makelsr.py +++ b/scripts/auxiliar/makelsr.py @@ -28,7 +28,7 @@ lilypond_bin = os.path.join (conv_path, 'lilypond') LY_HEADER_LSR = '''%% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% generated from LSR http://lsr.di.unimi.it %% Make any changes in LSR itself, or in Documentation/snippets/new/ , %% and then run scripts/auxiliar/makelsr.py %% @@ -251,6 +251,7 @@ def copy_ly (srcdir, name, tags): s = strip_white_spaces_re.sub ('', s) s = final_empty_lines_re.sub ('\n', s) s = escape_backslashes_in_header (s) + s = s.replace ("\r\n", "\n") sys.stderr.write ("makelsr.py: writing %s\n" % dest) open (dest, 'w').write (s)