And anyway, the better solution would be to cd into "$srcdir" before 
issuing the git command, instead of just using 0. Please check my 
suggestions and see if they work for you, as everything "just works" for me.

--
Tom.

On 27/02/13 10:59, Tom Hacohen wrote:
> Weird, are you sure it didn't work?
>
> I just tried building out of source (completely out of source) and it
> works great.
>
> --
> Tom.
>
> On 26/02/13 10:16, Tom Hacohen wrote:
>> Cool work, thanks.
>>
>> I actually use a build subdirectory so this works just fine for me. :) I
>> think we should maybe try to properly fix it by executing this from the
>> source dir...
>>
>> --
>> Tom.
>>
>> On 25/02/13 21:10, U. Artie Eoff wrote:
>>> From: "U. Artie Eoff" <[email protected]>
>>>
>>> When configuring the source outside of the git tree
>>> (i.e. git checkout-index ...), 'git rev-list --count HEAD'
>>> will fail.  Thus, just set v_rev to 0 like we did when this
>>> was an svn managed project.
>>>
>>> Signed-off-by: U. Artie Eoff <[email protected]>
>>> ---
>>>    configure.ac | 2 +-
>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/configure.ac b/configure.ac
>>> index e5647f2..494d0bf 100644
>>> --- a/configure.ac
>>> +++ b/configure.ac
>>> @@ -3,7 +3,7 @@
>>>    m4_define([v_maj], [1])
>>>    m4_define([v_min], [7])
>>>    m4_define([v_mic], [99])
>>> -m4_define([v_rev], m4_esyscmd([git rev-list --count HEAD | tr -d
>>> '\n']))dnl
>>> +m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD
>>> 2>/dev/null || echo 0) | tr -d '\n']))dnl
>>>    ##--   When released, remove the dnl on the below line
>>>    dnl m4_undefine([v_rev])
>>>    ##--   When doing snapshots - change soname. remove dnl on below line
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to