libtool-patches
[Top][All Lists]
Advanced

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

Re: git-version-gen w/o git


From: Peter Rosin
Subject: Re: git-version-gen w/o git
Date: Tue, 13 Nov 2012 15:32:07 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 2012-10-18 15:56, Peter Rosin wrote:
> Hi Eric!
> 
> On 2012-10-18 15:02, Eric Blake wrote:
>> [adding-gnulib]
> 
> I'm not subscribed, please (continue to) keep me in CC.
> 
>> On 10/18/2012 06:50 AM, Peter Rosin wrote:
>>> Hi!
>>>
>>> I used to use a libtool git checkout from a platform that lacks
>>> git [MSYS], but that broke at some point. I would like something
>>> like the below to unbreak my work flow.
>>>
>>> Please?
>>>
>>> Cheers,
>>> Peter
>>>
>>> diff --git a/Makefile.am b/Makefile.am
>>> index 176325c..3bcb419 100644
>>> --- a/Makefile.am
>>> +++ b/Makefile.am
>>> @@ -46,7 +46,7 @@ EXTRA_LTLIBRARIES =
>>>  # Using `cd' in backquotes may print the directory name, use this instead:
>>>  lt__cd             = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
>>>  
>>> -git_version_gen = '$(SHELL)' '$(aux_dir)/git-version-gen' 
>>> '.tarball-version'
>>> +git_version_gen = '$(SHELL)' '$(aux_dir)/git-version-gen' '--fallback' 
>>> '$(VERSION)' '.tarball-version'
>>
>> I'm not sure that makes sense - git-version-gen is ALREADY supposed to
>> use the contents of .tarball-version as the fallback version.
> 
> No, .tarball-version is the primary source, or the "fallfront" as
> some call it :-) Once you create that file you will no longer
> attempt to run git, even if you switch back to the platform that
> created the git checkout in the first place.

Ping for these patches:
http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00123.html
http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00124.html

Cheers,
Peter




reply via email to

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