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

Jon TURNEY jon.turney at dronecode.org.uk
Fri Apr 16 08:32:22 PDT 2010



On 16/04/2010 11:21, Kristian Høgsberg wrote:
> On Fri, Apr 16, 2010 at 2:04 AM, Peter Hutterer
>> +
>> +xorg-git-version.h:
>> +       sh $(top_srcdir)/GIT-GENERATE-VERSION
>> +
>> +.PHONY: xorg-git-version.h
>
> Make it depend on .git/$(git symbolic-ref HEAD) instead of using phony?

I think this needs to be .PHONY, and use git describe --dirty above to 
properly note when there are uncommitted changes included in the build.



More information about the xorg-devel mailing list