Re: distclean vs. clean order dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux