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



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

GRL_MAJORMINOR is used to tag the ABI version.

	J.A.




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