From: Jürgen Spitzmüller Date: Mon, 16 Mar 2009 13:47:58 +0000 (+0000) Subject: configure.py: X-Git-Tag: 2.0.0~7064 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b52205d30bda0be5e70770eecb160c4215e567ab;p=features.git configure.py: - add support for newer lilypond versions (bug 5834). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28815 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/configure.py b/lib/configure.py index be0b71cad8..c4b5eacb76 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -519,7 +519,12 @@ def checkConverterEntries(): if match: version_number = match.groups()[0] version = version_number.split('.') - if int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 6): + if int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 11): + addToRC(r'''\converter lilypond eps "lilypond -dbackend=eps --ps $$i" "" +\converter lilypond png "lilypond -dbackend=eps --png $$i" ""''') + addToRC(r'\converter lilypond pdf "lilypond -dbackend=eps --pdf $$i" ""') + print '+ found LilyPond version %s.' % version_number + elif int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 6): addToRC(r'''\converter lilypond eps "lilypond -b eps --ps $$i" "" \converter lilypond png "lilypond -b eps --png $$i" ""''') if int(version[0]) > 2 or (len(version) > 1 and int(version[0]) == 2 and int(version[1]) >= 9):