Re: [PATCH v2 4/5] Makefile: add the ".DELETE_ON_ERROR" flag
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 29, 2021, 23:58 UTC
- Message-ID
- <xmqqpmzhfr65.fsf@gitster.g>
- In-Reply-To
- <87a6qlmt9f.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 10 quoted lines
> Even if it's not available in all versions that's OK. You just won't get > the nicer removal behavior on on error on such a jurassic gmake, but > you'll probably have way bigger issues with your late-90s-era software. > > It's not a syntax error on a gmake or other make that doesn't know about > it either, i.e. you can also add a target like: > > .THIS_DOES_NOT_EXIST_AS_A_GMAKE_FEATURE: > > And gmake willl happily ignore it.
What I meant was that I would not tolerate "cc -o x+ && mv x+ x", but I do not mind DELETE_ON_ERROR with "cc -o x" at all.