[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implement Check on Input Values
From: |
Lane Schwartz |
Subject: |
Re: Implement Check on Input Values |
Date: |
Mon, 8 Aug 2011 15:15:54 -0400 |
On Mon, Aug 8, 2011 at 3:08 PM, David Boyce <address@hidden> wrote:
> It's never good to do a mkdir in a
> recipe (race condition under -j), so all these ways are preferred in
> that they work directly from the make process. In the OP's case it
> might be necessary to combine them with target-specific variables:
David,
Why is it bad to do mkdir in a recipe? I do things like this all the
time, and I've never had problems when using -j
foo/bar: | foo
...do something...
foo:
mkdir -p $@
Cheers,
Lane
Re: Implement Check on Input Values, Lane Schwartz, 2011/08/08