configure.py: revert r31950 because

- Richard removed a valid comment
- Richard's change introduced a regression, see my mail on the list

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31955 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-11-12 01:18:04 +00:00
parent ea806d510c
commit 5af21dd2ab

View File

@ -616,14 +616,16 @@ def checkConverterEntries():
#
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
rc_entry = [ r'\converter word latex "%%" ""' ])
# eLyXer: search as a Python module and then as an executable (elyxer.py, elyxer)
elyxerfound = checkModule('elyxer')
if elyxerfound:
addToRC(r'''\converter lyx html "python -m elyxer --directory $$r $$i $$o" ""''')
else:
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o', 'elyxer --directory $$r $$i $$o'],
rc_entry = [ r'\converter lyx html "%%" ""' ])
path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py', 'elyxer'],
rc_entry = '')
if elyxer.find('elyxer') >= 0:
elyxerfound = True
addToRC(r'''\converter lyx html "python -tt elyxer.py --directory $$r $$i $$o" ""''')
if elyxerfound:
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')