#include "support/debug.h"
#include "DepTable.h"
-#include "support/filetools.h"
#include "support/convert.h"
+#include "support/FileName.h"
+#include "support/filetools.h"
#include "support/lstrings.h"
-#include "support/lyxlib.h"
#include "support/Systemcall.h"
#include "support/os.h"
bool rerun = false; // rerun requested
// The class LaTeX does not know the temp path.
- theBufferList().updateIncludedTeXfiles(getcwd().absFilename(),
+ theBufferList().updateIncludedTeXfiles(FileName::getcwd().absFilename(),
runparams);
// Never write the depfile if an error was encountered.
// (1) foundfile is an
// absolute path and should
// be inserted.
- if (absolutePath(foundfile)) {
+ FileName absname(foundfile);
+ if (absname.isAbsolute()) {
LYXERR(Debug::DEPEND, "AbsolutePath file: " << foundfile);
// On initial insert we want to do the update at once
// since this file cannot be a file generated by
// the latex run.
- FileName absname(foundfile);
if (!insertIfExists(absname, head)) {
// check for spaces
string strippedfile = foundfile;
}
string onlyfile = onlyFilename(foundfile);
- FileName absname(makeAbsPath(onlyfile));
+ absname = makeAbsPath(onlyfile);
// check for spaces
while (contains(foundfile, ' ')) {