summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-15 07:36:44 +0000
committerPaul Smith <psmith@gnu.org>1999-07-15 07:36:44 +0000
commit9d89ad56bf74b22471617ed99f9e6e6272efba22 (patch)
treeaf9d3782c9aaeb9b7f806157a48f987f2590c637 /file.c
parentadb1632033d58f3570bacaf6d717e8b04199c979 (diff)
downloadgunmake-9d89ad56bf74b22471617ed99f9e6e6272efba22.tar.gz
* Fix up and document $(apply ...) function.
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/file.c b/file.c
index 1321b55..2a9a791 100644
--- a/file.c
+++ b/file.c
@@ -348,6 +348,8 @@ in favor of those for `%s'.",
/* %%% Kludge so -W wins on a file that gets vpathized. */
oldfile->last_mtime = file->last_mtime;
+ oldfile->mtime_before_update = file->mtime_before_update;
+
#define MERGE(field) oldfile->field |= file->field
MERGE (precious);
MERGE (tried_implicit);
@@ -468,6 +470,7 @@ snap_deps ()
/* Mark this file as phony and nonexistent. */
f2->phony = 1;
f2->last_mtime = (FILE_TIMESTAMP) -1;
+ f2->mtime_before_update = (FILE_TIMESTAMP) -1;
}
for (f = lookup_file (".INTERMEDIATE"); f != 0; f = f->prev)