From b52205d30bda0be5e70770eecb160c4215e567ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 16 Mar 2009 13:47:58 +0000 Subject: [PATCH] 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 --- lib/configure.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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): -- 2.39.2