Re: [PATCH 1/2] build: Define major, minor and micro version vars
- From: Víctor M. Jáquez L. <vjaquez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH 1/2] build: Define major, minor and micro version vars
- Date: Wed, 22 Sep 2010 16:59:40 +0200
On Wed, Sep 22, 2010 at 04:46:00PM +0200, Simón Pena wrote:
> Variables storing the major, minor and micro version have been created.
> grl_version and GRL_MAJORMINOR are generated now using those vars.
> ---
> configure.ac | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 2495fd7..bcc0eb5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -6,8 +6,11 @@
> # Copyright (C) 2010 Igalia S.L.. All rights reserved.
>
> m4_define([prj_name], [grilo])
> -m4_define([prj_version], [0.1.6])
> m4_define([prj_gir_name], [Grilo])
> +m4_define([grl_major_version], [0])
> +m4_define([grl_minor_version], [1])
> +m4_define([grl_micro_version], [6])
> +m4_define([prj_version], grl_major_version.grl_minor_version.grl_micro_version)
>
> AC_INIT([prj_name], [prj_version])
>
> @@ -45,7 +48,7 @@ GNOME_MAINTAINER_MODE_DEFINES
>
> # ABI version
>
> -GRL_MAJORMINOR=0.1
> +GRL_MAJORMINOR=grl_major_version.grl_minor_version
wouldn't be better
GRL_MAJORMINOR=prj_version ???
vmjl
> AC_SUBST(GRL_MAJORMINOR)
> AC_DEFINE_UNQUOTED(GRL_MAJORMINOR, "$GRL_MAJORMINOR", [library major.minor version])
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]