On 30 January 2015 at 03:07, Lubomir I. Ivanov wrote:
> here is my progress in a single patch if someone is interested.
>
> i'm CCing Thiago, because maybe he can help with a qmake issue.
>
> basically i have the same setup that this patch applies in a test project:
> - the version_h rule is gener
here is my progress in a single patch if someone is interested.
i'm CCing Thiago, because maybe he can help with a qmake issue.
basically i have the same setup that this patch applies in a test project:
- the version_h rule is generated in a .pro (.pri) file
- the rule simply calls a script that
On 29 January 2015 at 19:06, Henrik Brautaset Aronsen wrote:
> On 29 Jan 2015, at 17:21, Lubomir I. Ivanov wrote:
>>
>> - version.h does not exists even if tarballed (if so fill it it a
>> hardcoded version)
>
> Just to be precise: It's ssrf-version.h, not version.h, right?
>
it's just a test m
On 29 Jan 2015, at 17:21, Lubomir I. Ivanov wrote:
>
> - version.h does not exists even if tarballed (if so fill it it a
> hardcoded version)
Just to be precise: It's ssrf-version.h, not version.h, right?
Henrik
___
subsurface mailing list
subsurface
On 29 January 2015 at 16:20, Jef Driesen wrote:
> FORCE:
> $(top_srcdir)/revision: FORCE
> @if (test -d $(top_srcdir)/.git && cd $(top_srcdir) \
> && git rev-parse --verify HEAD) > revision-t 2>/dev/null \
> && ! cmp -s revision-t $@; then \
> mv -f revisio
On 2015-01-29 14:38, Thiago Macieira wrote:
On Thursday 29 January 2015 15:30:43 Lubomir I. Ivanov wrote:
this is what i would do:
-
all: main.exe
.PHONY: persist
version.h: persist
cat $@ 2> /dev/null || git rev-parse HEAD > $@
git rev-parse HEAD > $@.tmp
git diff
On 29 January 2015 at 15:30, Lubomir I. Ivanov wrote:
> On 29 January 2015 at 04:59, Thiago Macieira wrote:
>> On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote:
>>> The proper way to get the git version is to just do
>>>
>>> # get raw SHA1
>>> git rev-parse HEAD
>>>
>>> #
On 29 January 2015 at 15:38, Thiago Macieira wrote:
> On Thursday 29 January 2015 15:30:43 Lubomir I. Ivanov wrote:
>> this is what i would do:
>> -
>>
>> all: main.exe
>>
>> .PHONY: persist
>>
>> version.h: persist
>> cat $@ 2> /dev/null || git rev-parse HEAD > $@
>> git r
On Thursday 29 January 2015 15:30:43 Lubomir I. Ivanov wrote:
> this is what i would do:
> -
>
> all: main.exe
>
> .PHONY: persist
>
> version.h: persist
> cat $@ 2> /dev/null || git rev-parse HEAD > $@
> git rev-parse HEAD > $@.tmp
> git diff --quiet $@ $@.tmp || cp
On 29 January 2015 at 04:59, Thiago Macieira wrote:
> On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote:
>> The proper way to get the git version is to just do
>>
>> # get raw SHA1
>> git rev-parse HEAD
>>
>> # get "description" of it
>> git describe --tags --abbrev=12
Am 29.01.2015 10:06, schrieb Anton Lundin:
> On 29 January, 2015 - Thiago Macieira wrote:
>
>> On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote:
>>> The proper way to get the git version is to just do
>>>
>>> # get raw SHA1
>>> git rev-parse HEAD
>>>
>>> # get "description
On 29 January, 2015 - Thiago Macieira wrote:
> On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote:
> > The proper way to get the git version is to just do
> >
> > # get raw SHA1
> > git rev-parse HEAD
> >
> > # get "description" of it
> > git describe --tags --abbrev=
On Wednesday 28 January 2015 11:04:21 Linus Torvalds wrote:
> The proper way to get the git version is to just do
>
> # get raw SHA1
> git rev-parse HEAD
>
> # get "description" of it
> git describe --tags --abbrev=12
>
> but actually accessing the .git/HEAD file directly is
The subsurface version generation code is wrong, and I don't know
enough about qmake to fix it.
Isubsurface-gen-version.pridoes this:
exists(.git/HEAD): {
win32: SET_GIT_DIR = set GIT_DIR
else: SET_GIT_DIR = GIT_DIR
GIT_HEAD = .git/HEAD
VERSION_SCRIPT = $$PWD/sc
14 matches
Mail list logo