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); }