]> git.lyx.org Git - features.git/commitdiff
Search for both elyxer and elyxer.py.
authorPavel Sanda <sanda@lyx.org>
Wed, 24 Jun 2009 19:09:33 +0000 (19:09 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 24 Jun 2009 19:09:33 +0000 (19:09 +0000)
Patch from Sven Hoexter.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30251 a592a061-630c-0410-9148-cb99ea01b6c8

lib/configure.py

index f2b7b8b28f0bbd687bf1550b8366f1f47eb71e05..395e29a12b765131536b3fb44670c09db675d4fc 100644 (file)
@@ -465,9 +465,9 @@ def checkConverterEntries():
     checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
         rc_entry = [ r'\converter word       latex      "%%"   ""' ])
     #
-    path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o'],
+    path, elyxer = checkProg('a LyX -> HTML converter', ['elyxer.py --directory $$r $$i $$o','elyxer --directory $$r $$i $$o'],
       rc_entry = [ r'\converter lyx      html       "%%"       ""' ])
-    if elyxer.find('elyxer.py') >= 0:
+    if elyxer.find('elyxer') >= 0:
       addToRC(r'''\copier    html       "python -tt $$s/scripts/ext_copy.py -e html,png,jpg,jpeg,css $$i $$o"''')
     else:
       # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/