X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fmusicxml2ly.py;h=7c5dc69c1a749a67531a4df0dfe82d1ca7202429;hb=42b6a1852760ac7f46ce894e82a64bbe6c2cff70;hp=fa6e69c0cee9d63b7862805ca5c61502d8ded923;hpb=edb29ef3aa71bdc6d3d1fcd997836e7727dc2934;p=lilypond.git diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index fa6e69c0ce..7c5dc69c1a 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -2776,7 +2776,7 @@ If the given filename is -, musicxml2ly reads from the command line. action="help", help=_("show this help and exit")) - p.version = ('''%prog (LilyPond) @TOPLEVEL_VERSION@\n\n''' + p.version = ('%prog (LilyPond) ' + lilypond_version + '\n\n' + _ ("""Copyright (c) 2005--2015 by Han-Wen Nienhuys , @@ -3056,7 +3056,7 @@ def update_layout_information(): # \n\t\t\t\t\\override StringNumber #\'stencil = ##f def print_ly_preamble(printer, filename): - printer.dump_version() + printer.dump_version(lilypond_version) printer.print_verbatim('% automatically converted by philomelos musicxml2ly v0.2.41\n') printer.newline() printer.dump(r'\pointAndClickOff') @@ -3217,6 +3217,8 @@ def get_existing_filename_with_extension(filename, ext): def main(): + global lilypond_version + lilypond_version = "@TOPLEVEL_VERSION@" opt_parser = option_parser() global options