Re: [9fans] mk: the `D' attribute

2012-10-09 Thread Anthony Sorace
I suspect it just that we disagree. In the most common case, I don't really care whether such things get deleted. I sometimes very much want them not to be deleted, because they contain interesting information on the failure mode. I don't believe I've ever explicitly wanted them to be deleted. That

Re: [9fans] mk: the `D' attribute

2012-10-09 Thread Andy Spencer
On 2012-10-09 10:02, dexen deVries wrote: > GNU make's manual states, ``This [[removal of target on error]] is > almost always what you want `make' to do I'm don't think GNU Make has ever correctly predicted what I want `make' to do. Besides that, I think there could be problems if you have an ex

[9fans] mk: the `D' attribute

2012-10-09 Thread dexen deVries
why is the `D' attribute (`If the recipe exits with a non-null status, the target is deleted.') optional and not default behavior? in what cases does leaving half-made files make sense? GNU make's manual states, ``This [[removal of target on error]] is almost always what you want `make' to do,