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

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

Re: minor gettext nits


From: Ralf Wildenhues
Subject: Re: minor gettext nits
Date: Sun, 14 Sep 2008 17:18:40 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Bruno Haible wrote on Sun, Sep 14, 2008 at 05:12:55PM CEST:
> Ralf Wildenhues wrote:
> > >  libxml/DOCBparser.h: libxml/DOCBparser.in.h
> > > - test -d libxml || mkdir libxml
> > > + test -d libxml || $(mkdir_p) libxml
> > 
> > This has the very slight disadvantage of forking 50 extra shell
> > processes when the build tree is used for the first time.
> 
> If the number of forks was an issue, you would better ask everyone to
> rewrite his Makefile rules
> 
>    target : dependencies
>       command1
>       command2
>       command3
> 
> into
> 
>    target : dependencies
>       command1 \
>       && command2 \
>       && command3

Not really.  With GNU make, and simple commands that don't involve shell
constructs, the former needs 3 execs while the latter needs 4.

> > You could instead have your own directory stamp:

> Sorry, I go through lots of efforts trying to avoid stamp files. I don't
> introduce stamp files just to save a few CPU cycles.

That's fine really; I already mentioned that I noted this for
completeness only.  After all, we discuss branch costs in C
code, too, this really isn't much different IMHO.

Cheers,
Ralf




reply via email to

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