If a target is explicitly flagged .META,
a missing .meta file means it is out-of-date.
This commit is contained in:
parent
0a50150ffc
commit
bbf6dc9998
@ -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 @@ meta_oodate(GNode *gn, Boolean oodate)
|
||||
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) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user