diff options
author | Paul Smith <psmith@gnu.org> | 2006-01-04 14:45:16 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-01-04 14:45:16 +0000 |
commit | 64e16d6c00a59fcff9681e032ac8dbec46d3e960 (patch) | |
tree | 48a8511b273fdfc555442951b97cca3fceb79ee6 /remake.c | |
parent | 3d0d9e5d75eecd48d106918e0f568590f67fc26a (diff) | |
download | gunmake-64e16d6c00a59fcff9681e032ac8dbec46d3e960.tar.gz |
Various changes getting ready for the release of 3.81.
- Updates to make.texi and make.1 and other documentation
- Some VMS patches
- Fix minor bugs reported on the mailing list and from Debian.
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -530,7 +530,10 @@ update_file_1 (struct file *file, unsigned int depth) break; if (!running) - d->changed = file_mtime (d->file) != mtime; + /* The prereq is considered changed if the timestamp has changed while + it was built, OR it doesn't exist. */ + d->changed = ((file_mtime (d->file) != mtime) + || (mtime == NONEXISTENT_MTIME)); lastd = d; d = d->next; |