help-make
[Top][All Lists]
Advanced

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

Re: creating directories through dependency


From: John Graham-Cumming
Subject: Re: creating directories through dependency
Date: Tue, 09 Jan 2007 16:21:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

Dave Korn wrote:
BTW, if you ever revise it, I noticed one minor omission in the
discussion of using the -p option to mkdir: as well as building a
whole path in one go, it also prevents mkdir from erroring out if the
destination dir already exists, meaning that you don't have to use
"-mkdir" and potentially ignore real errors as well as (irrelevant)
EEXISTs.  I'm sure you're aware of all that, but your target audience
might not spot the implication if you don't make it explicit.

That's a good point and worth mentioning. I'll make a note for a future revision (currently trying to interest a publisher in a 'GNU Make Cookbook' of all my articles (http://www.cmcrossroads.com/content/category/8/147/268) on GNU Make stuff).

John.





reply via email to

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