Skip to content

Commit

Permalink
Update INSTALL
Browse files Browse the repository at this point in the history
Explicitly mention how to install by hand in build-as-user and
install-as-root steps.

Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
Junio C Hamano committed Nov 9, 2005
1 parent 186f855 commit c44922a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit c44922a

Please sign in to comment.