job000013 | TOGETHER targets not removed on failure From: http://maillist.perforce.com/pi...permail/jamming/2002-January/001537.html : | If an actions fails it's targets are delted by jam. | If the action is marked with TOGETHER it's targets are not deleted. Why? | | I'd like them to be deleted. | | Code from make1.c | > /* If the command was interrupted or failed and the target */ | >/* is not "precious", remove the targets */ | > | >if( status != EXEC_CMD_OK && !( cmd->rule->flags & RULE_TOGETHER ) ) | >{ | > LIST *targets = lol_get( &cmd->args, 0 ); | > | > for( ; targets; targets = list_next( targets ) ) | >if( !unlink( targets->string ) ) | > printf( "...removing %s\n", targets->string ); | >} | | Is !( cmd->rule->flags & RULE_TOGETHER ) neccesary here?! | | Reagards, | Miklos « | |
Add Job |