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

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

Re: minor gettext nits


From: Bruno Haible
Subject: Re: minor gettext nits
Date: Sun, 14 Sep 2008 17:12:55 +0200
User-agent: KMail/1.5.4

Ralf Wildenhues wrote:
> > --- modules/libxml  26 Oct 2007 09:32:36 -0000      1.8
> > +++ modules/libxml  14 Sep 2008 12:44:13 -0000
> > @@ -164,329 +164,329 @@
> >  BUILT_SOURCES += $(LIBXML_H)
> >  
> >  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

You will probably find that many people don't want to make this kind of
optimizations.

> You could instead have your own directory stamp:
> 
> libxml/dirstamp:
>       $(mkdir_p) libxml
>       @: >$@

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.

Bruno





reply via email to

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