INSTALL: a tip for running after building but without installing.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Jul 2, 2006 at 23:54 UTC
3c767a08243244b18d48315f8433ba07e435f654
1 file changed
+13
INSTALL
+13
@@ -29,6 +29,19 @@ Issues of note:
29
has been actively developed since 1997, and people have moved over to
30
graphical file managers.
31
32
+ - You can use git after building but without installing if you
33
+ wanted to. Various git commands need to find other git
34
+ commands and scripts to do their work, so you would need to
35
+ arrange a few environment variables to tell them that their
36
+ friends will be found in your built source area instead of at
37
+ their standard installation area. Something like this works
38
+ for me:
39
+
40
+ GIT_EXEC_PATH=`pwd`
41
+ PATH=`pwd`:$PATH
42
+ PERL5LIB=`pwd`/perl/blib/lib:`pwd`/perl/blib/arch/auto/Git
43
+ export GIT_EXEC_PATH PATH PERL5LIB
44
+
45
- Git is reasonably self-sufficient, but does depend on a few external
46
programs and libraries:
47