[darcs-users] darcs patch: Use gmakeisms for prettier output.

Eric Kow kowey at darcs.net
Fri Sep 19 09:35:10 UTC 2008


On Fri, Sep 19, 2008 at 00:18:41 -0700, Trent W. Buck wrote:
> Fri Sep 19 17:13:58 EST 2008  Trent W. Buck <trentbuck at gmail.com>
>   * Use gmakeisms for prettier output.

Seems to make sense.

I'm willing to fast-track this to stable and to 2.0.3pre2

Use gmakeisms for prettier output.
----------------------------------
> Trent W. Buck <trentbuck at gmail.com>**20080919071358] hunk ./autoconf.mk.in 115
> - -	(cd `dirname $<` && $(LATEX) `basename $<`)
> +	(cd $(dir $*) && $(LATEX) $(notdir $*))
> hunk ./autoconf.mk.in 117
> - -	    (cd `dirname $<` && $(LATEX) `basename $<`); \
> +	    (cd $(dir $*) && $(LATEX) $(notdir $*)); \
> hunk ./autoconf.mk.in 122
> - -	(cd `dirname $<` && $(PDFLATEX) `basename $<`)
> +	(cd $(dir $*) && $(PDFLATEX) $(notdir $*))
> hunk ./autoconf.mk.in 124
> - -	    (cd `dirname $<` && $(PDFLATEX) `basename $<`); \
> +	    (cd $(dir $*) && $(PDFLATEX) $(notdir $*)); \

For the interested,
 http://www.gnu.org/software/make/manual/make.html#Automatic-Variables
tells me that $* is like $(basename $<) [note that gmake basename just
drops extensions]

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080919/ca52cdc8/attachment-0001.pgp 


More information about the darcs-users mailing list