@matheusbsbs / matheus-bagliano / commits / c44922a781
Fork 0

Update INSTALL

Explicitly mention how to install by hand in build-as-user and install-as-root steps. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Nov 9, 2005 at 12:40 UTC c44922a7817398d63bb2b46dc599bd05c710e746
1 file changed +6 -3
INSTALL
+6 -3
@@ -5,10 +5,13 @@ Normally you can just do "make" followed by "make install", and that
5 will install the git programs in your own ~/bin/ directory. If you want
6 to do a global install, you can do
7
8 - make prefix=/usr install
8 + $ make prefix=/usr ;# as yourself
9 + # make prefix=/usr install ;# as root
10
10 -(or prefix=/usr/local, of course). Some day somebody may send me a RPM
11 -spec file or something, and you can do "make rpm" or whatever.
11 +(or prefix=/usr/local, of course). Just like any program suite
12 +that uses $prefix, the built results have some paths encoded,
13 +which are derived from $prefix, so "make all; make prefix=/usr
14 +install" would not work.
15
16 Issues of note:
17