On 1/23/06, Brian Dessent <[EMAIL PROTECTED]> wrote:
I've been using the following solution suggested by a friend to use a
version number extracted from a source file:
AC_MSG_CHECKING(for version number in $srcdir/version.cpp)
VERSION_MAJOR=`grep 'version::Major' $srcdir/version.cpp | \
Hi Brian/Ralf,
Ralf Wildenhues wrote:
If you're ultimately out to set the AC_INIT version argument, you may
want to read this thread (completely!)
http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/6129 esp.
http://article.gmane.org/gmane.comp.sysutils.autoconf.general/6169
and then d
Hi Brian,
* Brian Dessent wrote on Mon, Jan 23, 2006 at 11:34:09PM CET:
>
> We have an application where the version number (for the purposes of
> creating a dist tarball) is determined by grepping for $Revision $ in
> the toplevel ChangeLog. Because this is not a static value, it means we
> can
On Mon, 23 Jan 2006, Brian Dessent wrote:
Is there any way of setting this value of VERSION for the "dist" rule at
runtime?
For posting development snapshots, I use:
snapshottime = `date +%Y-%m-%d-%H%M`
snap: README
echo "#define NAIM_SNAPSHOT \"-${snapshottime} (development snapshot)\
On Mon, 23 Jan 2006, Bruce Korb wrote:
What is your goal? If your desire is to have a version that always "bumps"
without having to think about it, you might want to consider thinking again.
:)
As you have noticed, by using ChangeLog you have to manually do something
else. What it boils down
Brian Dessent wrote:
We have an application where the version number (for the purposes of
creating a dist tarball) is determined by grepping for $Revision $ in
the toplevel ChangeLog. Because this is not a static value, it means we
can't just set VERSION when running automake, since a commit cou
We have an application where the version number (for the purposes of
creating a dist tarball) is determined by grepping for $Revision $ in
the toplevel ChangeLog. Because this is not a static value, it means we
can't just set VERSION when running automake, since a commit could cause
it to bump wi