X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=all;h=d85c09701ec77e6c6f76fb28d4c6098e383693b8;hp=933a51b6e78259583b56f9e06e2ca6ef1000d6e4;hb=14253bf22931c267c5f4399730894b0e015c4df5;hpb=4c6e2486fffdf31d00e5be9a8348dd0e99247b5e;ds=sidebyside diff --git a/all b/all index 933a51b6..d85c0970 100755 --- a/all +++ b/all @@ -119,6 +119,7 @@ darkplaces | fteqcc | git://github.com/Blub/qclib.git | master | div0-gittools | git://git.icculus.org/divverent/div0-gittools.git | master | netradiant | | master | +d0_blind_id | http://github.com/divVerent/d0_blind_id.git | master | " # todo: in darkplaces, change repobranch to div0-stable @@ -440,18 +441,21 @@ case "$cmd" in fi case "$1" in -c) + cleand0=true cleandp=true cleanqcc=true cleanqc=true shift ;; -n) + cleand0=false cleandp=false cleanqcc=false cleanqc=false shift ;; *) + cleand0=false cleandp=false cleanqcc=false cleanqc=true # version info @@ -491,6 +495,16 @@ case "$cmd" in fi fi + enter "$d0/d0_blind_id" verbose + if ! [ -f Makefile ]; then + verbose sh autogen.sh + verbose ./configure + fi + if $cleand0; then + verbose make $MAKEFLAGS clean + fi + verbose make $MAKEFLAGS + enter "$d0/fteqcc" verbose if $cleanqcc; then verbose make $MAKEFLAGS clean @@ -516,12 +530,13 @@ case "$cmd" in run) if [ -n "$WE_HATE_OUR_USERS" ]; then client= - export PATH="$d0/misc/buildfiles/w32:$PATH" + export PATH="$d0/misc/buildfiles/w32:$d0/d0_blind_id/.libs/$PATH" elif [ x"`uname`" = x"Darwin" ]; then - export DYLD_LIBRARY_PATH="$d0/misc/buildfiles/osx/Xonotic-SDL.app/Contents/MacOS" + export DYLD_LIBRARY_PATH="$d0/misc/buildfiles/osx/Xonotic-SDL.app/Contents/MacOS:$d0/d0_blind_id/.libs" export DYLD_FRAMEWORK_PATH="$d0/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks" client=-sdl else + export LD_LIBRARY_PATH="$d0/d0_blind_id/.libs" client=-sdl fi case "$1" in