Re: [PATCH] Add more instructions about how to install git.
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Sep 8, 2009, 07:56 UTC
- Message-ID
- <4AA60E41.5050702@drmicha.warpmail.net>
- In-Reply-To
- <vpqhbvekldk.fsf@bauges.imag.fr>
Matthieu Moy venit, vidit, dixit 08.09.2009 08:20:
Show 34 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes: > >> On Tue, Sep 8, 2009 at 07:11, Thiago Farina<tfransosi@gmail.com> wrote: >>> Signed-off-by: Thiago Farina <tfransosi@gmail.com> >>> --- >>> 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.
Show 11 quoted lines
> >>> +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/. >