Re: [PATCH 1/2] build: Define major, minor and micro version vars



On Wed, Sep 22, 2010 at 11:46:58PM +0200, Juan A. Suarez Romero wrote:
> On Wed, 2010-09-22 at 16:59 +0200, Víctor M. Jáquez L. wrote:
> > > +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    ??? 
> 
> I don't think so. If you do it, then GRL_MAJORMINOR would be 0.1.6, not
> 0.1

Ough! true

vmjl

> 
> GRL_MAJORMINOR is used to tag the ABI version.
> 
> 	J.A.
> 
> 
> _______________________________________________
> grilo-list mailing list
> grilo-list gnome org
> http://mail.gnome.org/mailman/listinfo/grilo-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]