Hello,
here's a small fix for a corner case I happened to run into.
Scenario:
Run 'make -t' on an incomplete tree, where a dependency file and
the subdirectory it should be in, are completely missing. Make fails
and exits.
Problem:
Run 'make -t -k' to have make continue despite missing dependency.
Doesn't work, it still exits early.
Fix:
Patch attached.
--
Atte Peltomäki
[email protected] <> http://kameli.org
"Your effort to remain what you are is what limits you"
--- make-3.82.orig/remake.c 2010-07-13 04:20:42.000000000 +0300
+++ make-3.82/remake.c 2011-12-01 12:21:49.399218731 +0200
@@ -660,7 +660,7 @@
/* If any dependency failed, give up now. */
- if (dep_status != 0)
+ if (dep_status != 0 && !keep_going_flag)
{
file->update_status = dep_status;
notice_finished_file (file);
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make