Timeline for Make mistakenly thinks rule succeeded because of 0-sized file generated by output redirect
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 6, 2011 at 18:12 | comment | added | Juliano | Yes, it is a good idea to keep partial files around for debugging, but that would complicate the solution a little. I added the bit about false, good. | |
| Jul 6, 2011 at 18:11 | history | edited | Juliano | CC BY-SA 3.0 | added 12 characters in body |
| Jul 6, 2011 at 17:54 | comment | added | Gilles 'SO- stop being evil' | I wouldn't delete $tmp if the generation fails, partial files can be useful to debug failed builds. If you do, you must make sure the command fails if rm is invoked, e.g. || rm $$tmp && false. | |
| Jul 6, 2011 at 17:27 | history | answered | Juliano | CC BY-SA 3.0 |