Re: Question on version number with configure.acand bakefile
"Stefano Antonelli" <santonelli-p2Cncya/2BcAspv4Qr0y0gC/[email protected]> Thu, 16 Dec 2010 11:31:58 -0800
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <20101216193156.GDUL6023.priv-edmwes50.telusplanet.net@edmwcm03> |
V=E1clav Slav=EDk wrote: > On Dec 15, 2010, at 19:57, Stefano Antonelli wrote: > > Is there a way to keep the version number in only one location (ie. = > > the > > bakefile) and have configure.ac use it for the call to AC_INIT? > = > Sorry, how does this make sense as a Bakefile question? = > Bakefile doesn't generate configure.ac to begin with and even = > if it did, it would be the only format with the notion of = > "version number", so it wouldn't make much sense to handle = > this at Bakefile level... Am I missing something? The reply from Warren Young sums this up nicely. The only thing I would add is that it seems possible to include an m4 file before the call to AC_INIT as described here: http://old.nabble.com/Re%3A-specify-AC_INIT-version-externally-p27066165.htm l ./version.m4 m4_define([VERSION_NUMBER],[1.2.3]) ./package/configure.ac m4_include([../version.m4]) AC_INIT([package],VERSION_NUMBER) = If Bakefile could output some variables in a version.m4 then the version number could be contained in the .bkl file only. -Stef ---------------------------------------------------------------------------= --- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d