=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/targ.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- src/usr.bin/make/targ.c 2007/09/17 12:42:09 1.46 +++ src/usr.bin/make/targ.c 2007/09/17 14:05:34 1.47 @@ -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 @@ 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); }