summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-09 20:40:03 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-09 20:40:03 (GMT)
commitc44922a7817398d63bb2b46dc599bd05c710e746 (patch)
treedd56b9928a63d6fd62ad2df3fbdeda0d032dadf6 /INSTALL
parent186f855fc639f2063e5f02abc75ca39464a35500 (diff)
downloadgit-c44922a7817398d63bb2b46dc599bd05c710e746.zip
git-c44922a7817398d63bb2b46dc599bd05c710e746.tar.gz
git-c44922a7817398d63bb2b46dc599bd05c710e746.tar.bz2
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>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL9
1 files changed, 6 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index bbb13f3..06b11e1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -5,10 +5,13 @@ Normally you can just do "make" followed by "make install", and that
will install the git programs in your own ~/bin/ directory. If you want
to do a global install, you can do
- make prefix=/usr install
+ $ make prefix=/usr ;# as yourself
+ # make prefix=/usr install ;# as root
-(or prefix=/usr/local, of course). Some day somebody may send me a RPM
-spec file or something, and you can do "make rpm" or whatever.
+(or prefix=/usr/local, of course). Just like any program suite
+that uses $prefix, the built results have some paths encoded,
+which are derived from $prefix, so "make all; make prefix=/usr
+install" would not work.
Issues of note: