diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-11-03 10:36:49 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-11-03 10:36:49 +0000 |
commit | 0af611299c588edd1f1374566f8b36be24936d4f (patch) | |
tree | c741b4ddc3aa917999763ddb7fdaf5f03def4980 /usr.bin/make | |
parent | 56e90c07e01a2b4459f89684665ded17e620903f (diff) |
mark nodes as made when there is no command around the target.
real files get updated anyways, but phony nodes stay around as unmade,
which breaks things in subtle ways, since parallel mode just assumes things
get built.
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/job.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 24d6c710aa2..b6537cccce8 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: job.c,v 1.101 2007/11/02 17:27:24 espie Exp $ */ +/* $OpenBSD: job.c,v 1.102 2007/11/03 10:36:48 espie Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -965,6 +965,7 @@ prepare_job(GNode *gn, int flags) */ if (cmdsOK) { if (aborting == 0) { + job->node->made = MADE; Make_Update(job->node); } } |