30 lines
625 B
Bash
Executable File
30 lines
625 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# DDD=' -DUSE_SYMLINK_HEAD=0'
|
|
# PATH=/usr/bin:/bin
|
|
PATH=$HOME/bin/Linux:/usr/bin:/bin
|
|
LANG=C
|
|
LC_CTYPE=C
|
|
export PATH LANG LC_CTYPE
|
|
|
|
case "`git symbolic-ref HEAD`" in
|
|
refs/heads/next)
|
|
d="bindir=$HOME/bin/Linux gitexecdir=$HOME/bin/Linux" ;;
|
|
refs/heads/maint)
|
|
d="prefix=$HOME/git-maint" ;;
|
|
refs/heads/master)
|
|
d="prefix=$HOME/git-master" ;;
|
|
refs/heads/pu)
|
|
d="prefix=$HOME/git-pu" ;;
|
|
*)
|
|
d="prefix=$HOME/git-test" ;;
|
|
esac
|
|
|
|
: ${O=-O2}
|
|
make $d \
|
|
PYTHON_PATH=/usr/bin/python2.4 \
|
|
CFLAGS="$O -Wall -Wdeclaration-after-statement -g" \
|
|
WITH_SEND_EMAIL=YesPlease \
|
|
WITH_SVNIMPORT=YesPlease \
|
|
"$@"
|