summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-07-15 02:29:46 +0000
committerXuefer <xuefer@gmail.com>2013-07-15 02:29:46 +0000
commitc4d23d3884dc66db81690922913414fd31c8c2e1 (patch)
treeeb64bb02d441a6e5fda5122a222d3b84bb4f6a9c /devel
parent30224380bd8352146ea38047c2ad073211496efd (diff)
downloadxcache-c4d23d3884dc66db81690922913414fd31c8c2e1.tar.gz
xcache-c4d23d3884dc66db81690922913414fd31c8c2e1.zip
update dependencies
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1312 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/run24
1 files changed, 12 insertions, 12 deletions
diff --git a/devel/run b/devel/run
index 86cdadf..29c7726 100755
--- a/devel/run
+++ b/devel/run
@@ -84,7 +84,7 @@ updatedeps() { # {{{1
esac
echo ${sourceFile%.c}.lo '$(builddir)/'${sourceFile%.c}.lo:
hiecho "Checking $sourceFile ..." >&2
- for dependency in $(gcc -DHAVE_XCACHE_TEST -DHAVE_XCACHE_DPRINT -DXCACHE_DEBUG -MM $sourceFile -I$HOME/test/php5-debug-zts/include/php/{,main,Zend,TSRM} -I. -I${builddir} -MG | sed 's#.*:##g' | sed 's#\\##g'); do
+ for dependency in $(gcc -DHAVE_XCACHE_TEST -DHAVE_XCACHE_DPRINT -DXCACHE_DEBUG -MM $sourceFile -I$PHPSDIR/$phpbasename/include/php/{,main,Zend,TSRM} -I. -I${builddir} -MG | sed 's#.*:##g' | sed 's#\\##g'); do
dependency=$(readlink -f "$dependency")
case "$dependency" in
$pwd/*)
@@ -132,17 +132,6 @@ if [[ $# -eq 0 ]]; then
set -- $action "${args[@]}"
fi
-# devel actions
-case "$1" in
-prep*) shift; prep "$@"; exit;;
-tags) shift; rm -f tags; prep tags "$@"; exit;;
-po2php) po2php; exit;;
-mergepo) mergepo; exit;;
-dep*) updatedeps; exit;;
-xtest) xtest; exit;;
-stopfpm) stopfpm devel.pid; exit;;
-esac
-
basename=$(basename $(pwd))
case "$basename" in
*-*)
@@ -358,6 +347,17 @@ run() {
}
for phpbasename in "${dirs[@]}"; do
+ # devel actions
+ case "$1" in
+ prep*) shift; prep "$@"; exit;;
+ tags) shift; rm -f tags; prep tags "$@"; exit;;
+ po2php) po2php; exit;;
+ mergepo) mergepo; exit;;
+ dep*) updatedeps; exit;;
+ xtest) xtest; exit;;
+ stopfpm) stopfpm devel.pid; exit;;
+ esac
+
mkdir -p ${xcachesrcdir}-${phpbasename}
cd ${xcachesrcdir}-${phpbasename} || exit
lndir ${xcachesrcdir} >/dev/null || true