diff options
author | Paul Smith <psmith@gnu.org> | 2002-09-04 07:26:19 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-09-04 07:26:19 +0000 |
commit | 14c24455fbab51e52f6fb4049801fde18d961f87 (patch) | |
tree | 8127d7aa6cfedde3f284f5c6ae77e4f2eefee59e /implicit.c | |
parent | 371abc0772a088f6913d9104a91737bcf748c783 (diff) | |
download | make-14c24455fbab51e52f6fb4049801fde18d961f87.tar.gz |
Fix for complex situations where directories are declared as prerequisites.
Info on this fix from barkalow@reputation.com: thanks!
Some updates/cleanups of some of the tests; added a forgotten -t test, etc.
Diffstat (limited to 'implicit.c')
-rw-r--r-- | implicit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -399,8 +399,8 @@ pattern_search (file, archive, depth, recursions) directory (the one gotten by prepending FILENAME's directory), so it might actually exist. */ - if ((!dep->changed || check_lastslash) - && (lookup_file (p) != 0 || file_exists_p (p))) + if (lookup_file (p) != 0 + || ((!dep->changed || check_lastslash) && file_exists_p (p))) { found_files[deps_found++] = xstrdup (p); continue; |