Re: [PATCH v3 05/23] Makefile: remove "mv $@ $@+" dance redundant to .DELETE_ON_ERROR
- From
Mike Hommey <mh@glandium.org>
- Date
- Nov 17, 2021, 02:01 UTC
- Message-ID
- <20211117020158.4p3iwlrdf2v4nc55@glandium.org>
- In-Reply-To
- <patch-v3-05.23-e38c90ad0b6-20211116T114334Z-avarab@gmail.com>
On Tue, Nov 16, 2021 at 01:00:05PM +0100, Ævar Arnfjörð Bjarmason wrote:
Show 5 quoted lines
> Since 7b76d6bf221 (Makefile: add and use the ".DELETE_ON_ERROR" flag, > 2021-06-29) we don't need to guard the clobbering of $@ with this sort > of "mv $@+ $@" pattern in these cases where we're merely generating a > file that'll be used as a dependency for other files, as in this case > for GIT-PERL-HEADER.
.DELETE_ON_ERROR is, as far as I know, a GNUism. Does building git require the use of GNU make?
Mike