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" <ullysses.a.e...@intel.com>
>
> 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 <ullysses.a.e...@intel.com>
> ---
>   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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to