]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/depend.py
Spanish updates from Ignacio
[lyx.git] / lib / doc / depend.py
index 433e181e83aec9c0b2ef76e33aeed30aeaff1f90..af4d1404c3632df9c71b5d5b49f2cebedc2287ab 100644 (file)
@@ -28,7 +28,7 @@ import os
 import re
 from glob import glob
 
-possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "Extended", "Customization")
+possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "EmbeddedObjects", "Extended", "Customization")
 lang_pattern = re.compile('^([a-z]{2})_')
 
 def documents(srcdir, prefix):
@@ -53,7 +53,7 @@ def main(argv):
     # What are the languages available? And its documents?
     languages = {}
     srcdir = os.path.dirname(argv[0])
-    for file in glob(srcdir + '/*'):
+    for file in glob(srcdir + '/*.lyx'):
         file = os.path.basename(file)
         lang = lang_pattern.match(file)
         if lang: