Paul D. Smith <[EMAIL PROTECTED]> writes: > Mm. I don't know about this.
BTW, the changes are just a few lines and in one place! ;-) -boris
--- make-cvs-orig/read.c 2004-05-16 19:19:57.000000000 -0500 +++ cvs-bk4/read.c 2004-05-19 14:59:18.000000000 -0500 @@ -2140,6 +2140,22 @@ break; } + /* If this file is a prerequisite of the .NOT_DEFAULT + target, don't let it be the default goal file. */ + + if (!reject) + { + struct file *f = lookup_file (".NOT_DEFAULT"); + + for (; !reject && f != 0; f = f->prev) + for (d = f->deps; d != 0; d = d->next) + if (streq (name, dep_name (d))) + { + reject = 1; + break; + } + } + if (!reject) default_goal_file = f; }
signature.asc
Description: Digital signature
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make