Makefile: enable .DELETE_ON_ERROR special target
commitbe95d4c131c77192f1033f051563ca2cc20e32b1
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 3 Nov 2010 22:50:44 +0000 (4 00:50 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 3 Nov 2010 23:30:42 +0000 (4 01:30 +0200)
treee8fb6507672020d398ea954cb7ad10057ae15219
parent34454cfcd18b4127eb1b5200e724045a581bdbf6
Makefile: enable .DELETE_ON_ERROR special target

msgfmt creates the output file even if there was a fatal error. Thus
make would stop because of the error return, but the output file would
be left on disk and running make again would continue building other
files. Enable the .DELETE_ON_ERROR special target to automatically
delete target files changed by failing commands. This affects all
rules; I think it is the correct behavior for all existing rules.
Makefile