From c9612144a27da2692cf128d2c36a187e56642680 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Sun, 27 May 2001 17:30:29 +0000 Subject: [PATCH] Make sure that the main .tex file is in the dependancy file. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2024 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/LaTeX.C | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index cfae23e974..15ed67f650 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-05-27 Dekel Tsur + + * LaTeX.C (deplog): Make sure that the main .tex file is in the + dependancy file + 2001-05-23 Lars Gullik Bjønnes * lyx_main.C (defaultKeyBindings): set KP_enter to point at diff --git a/src/LaTeX.C b/src/LaTeX.C index 06e45c4c58..fb7f86fe6d 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -704,4 +704,7 @@ void LaTeX::deplog(DepTable & head) << "Not a file or we are unable to find it." << endl; } + + // Make sure that the main .tex file is in the dependancy file. + head.insert(OnlyFilename(file), true); }