From de28287fc0a7bcfe2bfdbade3ca916853ac90f74 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Thu, 12 Apr 2001 08:08:29 +0000 Subject: [PATCH] Fix depfile bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1912 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeX.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LaTeX.C b/src/LaTeX.C index a37ee5b7ac..7590361926 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -665,7 +665,8 @@ void LaTeX::deplog(DepTable & head) // On initial insert we want to do the update at once // since this file can not be a file generated by // the latex run. - head.insert(foundfile, true); + if (FileInfo(foundfile).exist()) + head.insert(foundfile, true); continue; }