Only add .lyx files to Makefile.depend (backport 14493 from G. Baum)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-08-08 10:59:21 +00:00
parent 40ea8765be
commit 1aea39cb93

View File

@ -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: