diff options
| author | christos <christos@NetBSD.org> | 2013-03-05 02:04:10 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2013-03-05 02:04:10 +0000 |
| commit | da7779a335cc2108064b35bf45e1cb79b4fcd148 (patch) | |
| tree | 0f457f95d67f9b508e69054ceb1a0e5fbd90cc4e /usr.bin/make/dir.c | |
| parent | de4314f0ed0518152576caad766d382c30422d39 (diff) | |
Keep track of the location where a dependency is defined, so we can report
about it.
Diffstat (limited to 'usr.bin/make/dir.c')
| -rw-r--r-- | usr.bin/make/dir.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index 1c56ea3e897..d43ad40e88d 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -1,4 +1,4 @@ -/* $NetBSD: dir.c,v 1.65 2012/06/12 19:21:50 joerg Exp $ */ +/* $NetBSD: dir.c,v 1.66 2013/03/05 02:04:10 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -70,14 +70,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: dir.c,v 1.65 2012/06/12 19:21:50 joerg Exp $"; +static char rcsid[] = "$NetBSD: dir.c,v 1.66 2013/03/05 02:04:10 christos Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)dir.c 8.2 (Berkeley) 1/2/94"; #else -__RCSID("$NetBSD: dir.c,v 1.65 2012/06/12 19:21:50 joerg Exp $"); +__RCSID("$NetBSD: dir.c,v 1.66 2013/03/05 02:04:10 christos Exp $"); #endif #endif /* not lint */ #endif @@ -1464,8 +1464,9 @@ Dir_MTime(GNode *gn, Boolean recheck) */ gn->path = bmake_strdup(fullName); fprintf(stdout, - "%s: ignoring stale %s for %s, found %s\n", - progname, makeDependfile, gn->name, fullName); + "%s: %s, %d: ignoring stale %s for %s, found %s\n", + progname, gn->fname, gn->lineno, + makeDependfile, gn->name, fullName); } } } |
