[PATCH v2] Print git describe output into the log file.

Gaetan Nadon memsize at videotron.ca
Fri Apr 16 06:22:55 PDT 2010


On Fri, 2010-04-16 at 06:21 -0400, Kristian Høgsberg wrote:

> > +.PHONY: xorg-git-version.h
> 
> Make it depend on .git/$(git symbolic-ref HEAD) instead of using
> phony?
> 
> 

That command returns the file holding the commit id of the HEAD. Sounds
good. Backticks should be used rather than $().
If it turns out to be bullet proof, it could be used for ChangeLog as
well. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100416/dfef1ecd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100416/dfef1ecd/attachment-0001.pgp>


More information about the xorg-devel mailing list