[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: show git SHA1 in output of `lilypond --version'
From: |
Werner LEMBERG |
Subject: |
Re: show git SHA1 in output of `lilypond --version' |
Date: |
Thu, 17 Dec 2009 15:31:04 +0100 (CET) |
>> It would make life a bit easier for testers who are directly
>> compiling from git if the SHA1 number (perhaps the first eight
>> digits only) could be shown in the output of
>>
>> lilypond --version
>>
>> Any chance to add this?
>
> The common way is to do something like "$(shell git describe)" in
> the Makefile. This will add slightly more than just the short
> commit name; it will also include the name of the closest tag.
Yeah. I can imagine that autogen.sh script handles this – for regular
tarballs this isn't necessary.
John?
Werner