diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-11-26 22:48:19 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-11-26 22:48:19 +0000 |
commit | a1e6a46458ca2ba9114414fcb1a8f2a555d6f739 (patch) | |
tree | 625bd39d74c462bfbc666a595e7fe09db9b45724 /usr.bin/make | |
parent | 411b684d5c659555d94f6bd0893da1da15ef157f (diff) |
keep unmade uptodate all the time, even for targets we're not making yet,
since we might want to make them later.
okay millert@, beck@
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/make.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 535a8e57fbd..f06570f7dbf 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: make.c,v 1.52 2007/11/24 15:41:01 espie Exp $ */ +/* $OpenBSD: make.c,v 1.53 2007/11/26 22:48:18 espie Exp $ */ /* $NetBSD: make.c,v 1.10 1996/11/06 17:59:15 christos Exp $ */ /* @@ -193,8 +193,8 @@ Make_Update(GNode *cgn) /* the child node */ for (ln = Lst_First(&cgn->parents); ln != NULL; ln = Lst_Adv(ln)) { pgn = (GNode *)Lst_Datum(ln); + pgn->unmade--; if (pgn->must_make) { - pgn->unmade--; if (DEBUG(MAKE)) printf("%s--=%d ", pgn->name, pgn->unmade); |