From: Michael J Gruber Date: Tue, 08 Sep 2009 07:56:49 GMT Subject: Re: [PATCH] Add more instructions about how to install git. Message-ID: <4AA60E41.5050702@drmicha.warpmail.net> In-Reply-To: Matthieu Moy venit, vidit, dixit 08.09.2009 08:20: > Alex Riesen writes: > >> On Tue, Sep 8, 2009 at 07:11, Thiago Farina wrote: >>> Signed-off-by: Thiago Farina >>> --- >>> INSTALL | 9 +++++++++ >>> 1 files changed, 9 insertions(+), 0 deletions(-) >>> >>> diff --git a/INSTALL b/INSTALL >>> index ae7f750..67abfc7 100644 >>> --- a/INSTALL >>> +++ b/INSTALL >>> @@ -1,6 +1,15 @@ >>> >>> Git installation >>> >>> +To install git follow these 4 steps inside your git directory: >>> +$ autoconf # Generates the configure file from configure.ac >>> +$ ./configure # Configures everything needed to build git >>> +$ make all # Compiles git based in the Makefile >>> +$ make install # Installs git in your own ~/bin directory > > Your commit message doesn't say what's wrong with > > | Alternatively you can use autoconf generated ./configure script to > | set up install paths (via config.mak.autogen), so you can write > | instead > | > | $ make configure ;# as yourself > | $ ./configure --prefix=/usr ;# as yourself > | $ make all doc ;# as yourself > | # make install install-doc install-html;# as root > > which is already in INSTALL a few lines after what your patch adds. ... especially since that really is a second class alternative these days, with using the shipped Makefile being the preferred way - just as the current documentation states. > >>> +If you don't have autoconf installed, you can do this by: >>> +$ sudo apt-get install autoconf >> >> ... if you're on a Debian-derived system. > > and if you have sudo configured. > > BTW, apt-get is anyway somehow deprecaded, you should > s/apt-get/aptitude/. >