1
0
Fork 0

run devel stuffs in source dir

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@988 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent 070be8e457
commit 28974db049

@ -1,10 +1,10 @@
#! /bin/bash
SELF="$0"
if test -e prepare.devel.inc ; then
. prepare.devel.inc
if test -e prepare.inc ; then
. prepare.inc
else
echo prepare.devel.inc is required, see prepare.devel.inc.example >&2
echo prepare.inc is required, see prepare.inc.example >&2
exit
fi

@ -1,6 +1,15 @@
#!/bin/bash
# this script is for developers only
case "$1" in
prep*)
exec ./devel/prepare
;;
tags)
exec ./devel/prepare tags
;;
esac
. run.cfg
basename=$(basename $(pwd))
@ -39,13 +48,7 @@ if [[ ! -z $1 ]]; then
fi
fi
case $type in
prep*)
exec ./devel/prepare.devel
;;
tags)
exec ./devel/prepare.devel tags
;;
case "$type" in
reb*)
PHPDIRS=${PHPDIRS:-$HOME/test}
if [[ ! -x $PHPDIRS/$phpbasename/bin/phpize ]]; then
@ -56,7 +59,7 @@ reb*)
phpize --clean \
&& phpize \
&& CFLAGS="-Wall -Wno-unused -W -Wshadow -std=gnu99" ./configure --enable-xcache-disassembler --enable-xcache-test --enable-xcache-constant \
&& make
&& make clean all
exit
;;
make)

Loading…
Cancel
Save