version 1.10, 2007/11/02 17:27:24 |
version 1.11, 2007/11/03 11:42:41 |
|
|
bool |
bool |
Job_CheckCommands(GNode *gn, void (*abortProc)(char *, ...)) |
Job_CheckCommands(GNode *gn, void (*abortProc)(char *, ...)) |
{ |
{ |
|
/* Alter our type to tell if errors should be ignored or things |
|
* should not be printed so CompatRunCommand knows what to do. |
|
*/ |
|
if (Targ_Ignore(gn)) |
|
gn->type |= OP_IGNORE; |
|
if (Targ_Silent(gn)) |
|
gn->type |= OP_SILENT; |
|
|
if (OP_NOP(gn->type) && Lst_IsEmpty(&gn->commands) && |
if (OP_NOP(gn->type) && Lst_IsEmpty(&gn->commands) && |
(gn->type & (OP_NODEFAULT | OP_LIB)) == 0) { |
(gn->type & (OP_NODEFAULT | OP_LIB)) == 0) { |
/* |
/* |