Subject: qgit with autotools

From: Marco Costalba <[email-masked]>
Date: Sun, 29 Jan 2006 09:14:03 +0100

Hi all,

QGit now uses autotools instead of scons, courtesy of Pavel patch that has been pushed.
In patch description you will find the rationale for this update.

Also old git public repo has been removed after a deprecation period, so please now use:

    http://digilander.libero.it/mcostalba/scm/qgit.git

After pulling new changes you should run "autoreconf -i" to create proper build environment and
then the usual ./configure + make + make install

Following, Pavel's answers regarding some notes on new build environment.

>
> 1) qgit binary is now 4,6MB on my machine, with scons it was 858KB.

I think Autoconf defaults to using "-g".  You can strip the binary.  I think you
can even run "make install-strip".  And of course you can use "configure
CXXFLAGS=-O2" or something to disable debug information.

> 2) qgit is built in src directory instead of ./bin/ or ./ (not a biggie)

That's an Automake thing.  There are ways to work it about, but they are not
nice (using libraries).

However, you can create a separate directory and run "configure && make" from it
(configure should run be with full path to the source directory).  Then you get
a build outside the source tree.  It may be just as good for your purposes.

Marco