summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-04-01 10:06:27 +0000
committerRoland McGrath <roland@redhat.com>1992-04-01 10:06:27 +0000
commit123c2494c3f4847fa83c533dc5ffd9e58bb358f5 (patch)
tree157f10eec2365f311671a4735f81ad21b53c616a /remake.c
parentd8742e9b3e6b736f0ca27fda0362263f4cb1bd97 (diff)
downloadgunmake-123c2494c3f4847fa83c533dc5ffd9e58bb358f5.tar.gz
Formerly remake.c.~24~
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/remake.c b/remake.c
index b4add5f..ddf4f4a 100644
--- a/remake.c
+++ b/remake.c
@@ -204,6 +204,7 @@ update_file (file, depth)
for (d = f->also_make; d != 0; d = d->next)
{
+ check_renamed (d->file);
d->file->command_state = f->command_state;
d->file->update_status = f->update_status;
d->file->updated = f->updated;
@@ -321,6 +322,8 @@ update_file_1 (file, depth)
{
time_t mtime;
+ check_renamed (d->file);
+
mtime = file_mtime (d->file);
check_renamed (d->file);