[m-rev.] for review: Mmake.rules

Fergus Henderson fjh at cs.mu.OZ.AU
Tue May 10 20:58:47 AEST 2005


On 04-May-2005, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Zoltan Somogyi, Wednesday,  4 May 2005:
> > Zoltan.
> > 
> > scripts/Mmake.rules:
> > 	Improve the rules for creating the subdirs of Mercury in two ways.
> > 	First, instead of letting make create a sh process for each subdir
> > 	we want to create by creating each subdir in a separate action,
> > 	make them all part of a single action, for which make generates
> > 	a single sh process. Second, don't print this action unless the user
> > 	explicitly requests this by setting MMAKE_USE_SUBDIRS_EXPLICIT to yes.
> 
> Couldn't all of those directories be quietly constructed using
> `mkdir -p dir1 dir2 ... dirN'?

The code was written to be portable to older systems that don't support
"mkdir -p".  But that may be overly cautious nowadays.

-- 
Fergus Henderson                    |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list