summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
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);