Pat Thoyts writes:
>>> GIT_VERSION=1.9.rc0
>>> all:
>>> echo $(join -DMAJOR= -DMINOR= -DPATCH=, \
>>> $(wordlist 1,3,$(filter-out rc%,$(subst -, ,$(subst .,
>>> ,$(GIT_VERSION 0 0))
>>>
>>> This removes any rc* parts and appends a couple of zeros so that all
>>> missing elements s
On 23 January 2014 14:16, Johannes Sixt wrote:
> Am 1/23/2014 13:02, schrieb Pat Thoyts:
>> On 23 January 2014 07:28, Johannes Sixt wrote:
>>> @@ -1773,7 +1773,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES
>>>
>>> git.res: git.rc GIT-VERSION-FILE
>>> $(QUIET_RC)$(RC) \
>>> - $
Am 1/23/2014 13:02, schrieb Pat Thoyts:
> On 23 January 2014 07:28, Johannes Sixt wrote:
>> @@ -1773,7 +1773,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES
>>
>> git.res: git.rc GIT-VERSION-FILE
>> $(QUIET_RC)$(RC) \
>> - $(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst
On 23 January 2014 07:28, Johannes Sixt wrote:
> From: Johannes Sixt
>
> If the git version number consists of less than three period
> separated numbers, then the Windows resource file compilation
> issues a syntax error:
>
> $ touch git.rc
> $ make V=1 git.res
> GIT_VERSION = 1.9.rc0
>
From: Johannes Sixt
If the git version number consists of less than three period
separated numbers, then the Windows resource file compilation
issues a syntax error:
$ touch git.rc
$ make V=1 git.res
GIT_VERSION = 1.9.rc0
windres -O coff \
-DMAJOR=1 -DMINOR=9 -DPATCH=rc0 \
5 matches
Mail list logo