[Users] Building using git

Brian Morrison bdm at fenrir.org.uk
Tue Aug 13 16:36:39 CEST 2013

On Tue, 13 Aug 2013 08:58:39 +0200
Ricardo Mones wrote:

> On Mon, Aug 12, 2013 at 04:55:00PM +0100, Brian Morrison wrote:
> > On Thu, 8 Aug 2013 19:30:59 +0100
> > Brian Morrison wrote:
> > 
> > > Seems to be working now, except that once everything has finished
> > > running the version.h file contains a version of, so how
> > > do I get it to reflect the git directory when a git pull --all is
> > > giving me an up to date response? I assume there is another step
> > > needed to put the correct version information where the build
> > > tools can find it.
> > 
> > Didn't see an answer to my question. Can anyone help?
>   That file is updated from git describe when you run autogen.sh,
> unless you don't have the .git dir. In that case (building from a
> tarball without .git) the pre-generated 'version' script is used by
> autogen.sh.
>   From your previous messages is not clear to me which case you were,
> probably somewhere in between, hence the version divergences.

Well I thought I had done the right thing, I cloned a new directory,
did a git pull --all and then ran autogen.sh which still gave me the
wrong version. Is there something I need to delete first?


Brian Morrison

More information about the Users mailing list