help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Make dependency on a directory without regards to timestamp


From: Doug
Subject: Re: Make dependency on a directory without regards to timestamp
Date: Thu, 30 Aug 2007 13:27:25 -0000
User-agent: G2/1.0

On Aug 29, 2:05 am, Henrik Carlqvist <Henrik.Carlqv...@deadspam.com>
wrote:
>
> The following will avoid your problem:
>
> myfile: $(filter-out $(wildcard mydir), mydir)
>         touch mydir/myfile
>
> Above, you will onldy depend on mydir if the directory does not exist.
>
> regards Henrik

Thanks Henrik-

That's exactly what I was looking for.

-Doug





reply via email to

[Prev in Thread] Current Thread [Next in Thread]