diff options
Diffstat (limited to 'usr.bin/make/targ.c')
-rw-r--r-- | usr.bin/make/targ.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index cb3ce35c0bc..ae989f3b622 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: targ.c,v 1.46 2007/09/17 12:42:09 espie Exp $ */ +/* $OpenBSD: targ.c,v 1.47 2007/09/17 14:05:34 espie Exp $ */ /* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */ /* @@ -411,7 +411,8 @@ TargPrintNode(GNode *gn, int pass) static void TargPrintOnlySrc(GNode *gn) { - if (OP_NOP(gn->type)) + if (OP_NOP(gn->type) && gn->special == SPECIAL_NONE && + !(gn->type & OP_DUMMY)) printf("#\t%s [%s]\n", gn->name, gn->path != NULL ? gn->path : gn->name); } |