Do not add backup .lyx~ files to lib/doc/Makefile.depend.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14493 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-07-22 15:17:27 +00:00
parent d36c17c924
commit 1632664595

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: