diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-07-17 17:58:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-18 01:30:01 +0200 |
commit | 96bd03d5b8d5d04fc8037c03a43bb5b148cc1e29 (patch) | |
tree | c3777fe697743ab668eb6f2db90c0404f0bf3284 /NEWS | |
parent | ecca17f6eec83b58f39ff5dc7894044c524ddf41 (diff) |
build-sys: use .DELETE_ON_ERROR
All instances of "|| rm $@" are replaced with .DELETE_ON_ERROR, which
has a similar effect. One difference is that the return code is not
masked by rm return code.
.DELETE_ON_ERROR is GNU-Make specific, but -Wno-portability is already
defined, and it's unlikely that anyone would build systemd with a
shell not supporting .DELETE_ON_ERROR. If they did, then
.DELETE_ON_ERROR would be silently ignored, i.e. in the worst case a
garbage file wouldn't be deleted, which is not very serious.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions