]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/depend.py
Spanish updates from Ignacio
[lyx.git] / lib / doc / depend.py
index 50df48a9056dee010ec9539b5dcb9882be3ff419..af4d1404c3632df9c71b5d5b49f2cebedc2287ab 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python -tt
+#! /usr/bin/env python
 # -*- coding: iso-8859-1 -*-
 # This file is part of the LyX Documentation
 # Copyright (C) 2004 José Matos <jamatos@lyx.org>
@@ -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: