Vincent Lefevre wrote:
> The file system is a vfat, so that after de-archiving the tarball, the
> timestamps are incorrect (the mtime can't be set back in the past).
I think the best and easiest workaround is to set all of the file
times to the same time. Then make will consider them up to date.
$ cd PROJECTDIR && find . -type f -exec touch -r . {} +
But if you can't set the time on files then that won't work.
Therefore I would simply try to get all of the files up to the current
time without a reference file. That seems like it should even on
pretty broken systems. This naturally has race potential but seems
like it might work most of the time.
$ cd PROJECTDIR && find . -type f -exec touch {} +
Bob