From: Junio C Hamano Date: Tue, 18 Apr 2006 09:42:36 +0000 (-0700) Subject: Install master and next at different places. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bf95706c1059b78ba0de58ae0c559a6e692a183e;p=git.git Install master and next at different places. Signed-off-by: Junio C Hamano --- diff --git a/Make b/Make index 7c8b2976..71586e28 100755 --- a/Make +++ b/Make @@ -7,9 +7,17 @@ LANG=C LC_CTYPE=C export PATH LANG LC_CTYPE +case "`git symbolic-ref HEAD`" in +refs/heads/master) + d="prefix=$HOME/git-master" ;; +refs/heads/pu) + d="prefix=$HOME/git-pu" ;; +*) + d="bindir=$HOME/bin/Linux gitexecdir=$HOME/bin/Linux" ;; +esac + : ${O=-O2} -make bindir=$HOME/bin/Linux \ - gitexecdir=$HOME/bin/Linux \ +make $d \ PYTHON_PATH=/usr/bin/python2.4 \ CFLAGS="$O -Wall -Wdeclaration-after-statement -g" \ WITH_SEND_EMAIL=YesPlease \