Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make If a target is explicitly flagged .META,
details: https://anonhg.NetBSD.org/src/rev/a2f26341fff6
branches: trunk
changeset: 768511:a2f26341fff6
user: sjg <sjg%NetBSD.org@localhost>
date: Thu Aug 18 00:00:21 2011 +0000
description:
If a target is explicitly flagged .META,
a missing .meta file means it is out-of-date.
diffstat:
usr.bin/make/meta.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 5e0581630003 -r a2f26341fff6 usr.bin/make/meta.c
--- a/usr.bin/make/meta.c Wed Aug 17 22:26:40 2011 +0000
+++ b/usr.bin/make/meta.c Thu Aug 18 00:00:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meta.c,v 1.20 2011/06/22 21:13:12 sjg Exp $ */
+/* $NetBSD: meta.c,v 1.21 2011/08/18 00:00:21 sjg Exp $ */
/*
* Implement 'meta' mode.
@@ -1254,6 +1254,12 @@
oodate = TRUE;
Lst_Destroy(missingFiles, (FreeProc *)free);
}
+ } else {
+ if ((gn->type & OP_META)) {
+ if (DEBUG(META))
+ fprintf(debug_file, "%s: required but missing\n", fname);
+ oodate = TRUE;
+ }
}
if (oodate && ignoreOODATE) {
/*
Home |
Main Index |
Thread Index |
Old Index