[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distclean vs. clean order dependency
From: |
Ralf Wildenhues |
Subject: |
Re: distclean vs. clean order dependency |
Date: |
Sat, 5 Apr 2008 15:09:03 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hi Eric,
let me address the easier part first:
* Eric Blake wrote on Sat, Apr 05, 2008 at 02:56:43PM CEST:
>
> # Avoid a race condition that would make parallel "distclean" fail.
[...]
> Or
> is there some other way, using automake 1.10.1, to add the needed
> serialization between clean-local and distclean-generic without triggering
> the automake warning about overriding an Automake target?
You could just punt and put
AUTOMAKE_OPTIONS = -Wno-override ...
in tests/Makefile.am, or you could fix the issue for GNU make-only by
adding
.NOTPARALLEL:
to tests/Makefile.am, or by putting
distclean-generic: | clean-local
in tests/GNUmakefile. This would require make 3.80 or newer, though.
All untested.
Cheers,
Ralf