Source-Changes-D archive

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

Re: CVS commit: src/sys/arch

On Thu, 27 May 2010, David A. Holland wrote:
> Log Message:
> Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
> trees, because it can race with the libsa/libkern/etc. makefiles' own
> cleandir rules. I think I've found all of the uses of the offending idiom...
> Closes PR 43360.

> -cleandir distclean: cleanlibdir
> +cleandir distclean: .WAIT cleanlibdir
>  cleanlibdir:
>       -rm -rf lib

I would have expected .WAIT to be a no-op in this context.  How does
"do nothing, wait until you have finished doing nothing, then make
cleanlibdir" differ from "make cleanlibdir" ?

I suppose you wouldn't have made this change if it did not make a
difference, but what I'd like to know is, why does it make a difference?

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index