]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.C
citation patch from Angus
[lyx.git] / src / LaTeX.C
index 94af204a5f11d513789b36061ec6428f5b2b47cf..36de5a4b0c714fef6a3aa5d80a61af8ab8dae36b 100644 (file)
@@ -71,6 +71,8 @@ LaTeX::LaTeX(string const & latex, string const & f, string const & p)
 {
        num_errors = 0;
        depfile = file + ".dep";
+       if (prefixIs(cmd, "pdf")) // Do we use pdflatex ?
+               depfile += "-pdf";
 }