From: Junio C Hamano Date: Wed, 09 Nov 2005 20:38:29 GMT Subject: Re: Expected Behavior? Message-ID: <7v1x1peeuy.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Jon Loeliger writes: > 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 > > I ran "make" as myself, and then later > I ran "make prefix=/usr install" as root. Would this be explicit enough? -- >8 -- cut here -- >8 -- diff --git a/INSTALL b/INSTALL index bbb13f3..b2cdb31 100644 --- a/INSTALL +++ b/INSTALL @@ -7,8 +7,10 @@ to do a global install, you can do make prefix=/usr install -(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: