commit | 6970561de07e071b85f0681062756f316eead29b | [log] [tgz] |
---|---|---|
author | Paul Smith <psmith@gnu.org> | Sun Aug 04 17:13:07 2024 -0400 |
committer | Paul Smith <psmith@gnu.org> | Sun Aug 04 17:13:07 2024 -0400 |
tree | 216157bd395fcb4a372f5585ddac2522f518c043 | |
parent | f0db5e321faf654df6f21e54b5b0ed509e18340c [diff] |
Don't add a target to its own also_make list * src/dep.h (copy_dep): Make a copy of one struct dep. * src/misc.c (copy_dep): Implement the new function. (copy_dep_chain): Call copy_dep() for each dep in the chain. * src/read.c (record_files): Write our own copy loop and omit the current file from its own also_make list. Since we don't keep the function's also_make, free it.