summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-04-08 12:51:20 +0000
committerPaul Smith <psmith@gnu.org>2005-04-08 12:51:20 +0000
commit3daf8df6ee835b9edcc068af33ae97910bb8d934 (patch)
treea90131bc43bd817abd1850df4ade8d58339d3334 /remake.c
parent4923580e3a5b3d9e7ff29ef1e5a5339cc7619a4b (diff)
downloadgunmake-3daf8df6ee835b9edcc068af33ae97910bb8d934.tar.gz
Fix some Savannah bugs.
Updates to docs (still need more work here) and NEWS file. New language.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/remake.c b/remake.c
index eb34c92..f7cfafb 100644
--- a/remake.c
+++ b/remake.c
@@ -909,10 +909,10 @@ check_dep (struct file *file, unsigned int depth,
++depth;
start_updating (file);
- if (!file->intermediate)
- /* If this is a non-intermediate file, update it and record
- whether it is newer than THIS_MTIME. */
+ if (file->phony || !file->intermediate)
{
+ /* If this is a non-intermediate file, update it and record
+ whether it is newer than THIS_MTIME. */
FILE_TIMESTAMP mtime;
dep_status = update_file (file, depth);
check_renamed (file);