On some machines, the beginning of the .log file when running pdflatex is
**file.tex
(file.tex[/usr/share/texmf/pdftex/config/pdftex.cfg]
The result is that file.tex is not inderted to the dependency file.
The solution is to add the line
head.insert(OnlyFilename(file), true)
at the beginning of LaTeX::deplog
