]> git.lyx.org Git - features.git/commitdiff
Add lyxblogger to configure.py. We're still thinking about what to do
authorRichard Heck <rgheck@comcast.net>
Tue, 30 Mar 2010 13:54:52 +0000 (13:54 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 30 Mar 2010 13:54:52 +0000 (13:54 +0000)
about the elyxer path.

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

lib/configure.py

index e09ac80a66f64642c0d20a9889e9b1f917a09783..4a041efef032f39c401db8b343da91cee90669d1 100644 (file)
@@ -646,6 +646,13 @@ def checkConverterEntries():
       else:
         addToRC(r'''\copier    html       "python -tt $$s/scripts/ext_copy.py $$i $$o"''')
 
+    # Check if LyxBlogger is installed.
+    path, lyxblogger = checkProg('A LyX to WordPress Blog Publishing Tool',
+      ['lyxblogger $$i'], rc_entry = [])
+    if lyxblogger.find('lyxblogger') >= 0:
+      addToRC(r'\Format    blog       blog       "LyxBlogger"           "" "" ""  "document"')
+                       addToRC(r'\converter xhtml      blog       "lyxblogger $$i"       ""')
+
     # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
     path, htmlconv = checkProg('a LaTeX -> MS Word converter', ["htlatex $$i 'html,word' 'symbol/!' '-cvalidate'", \
         "htlatex.sh $$i 'html,word' 'symbol/!' '-cvalidate'", \