make build dirs "clean" of DP and FTEQCC

This commit is contained in:
Rudolf Polzer 2010-08-05 10:41:10 +02:00
parent 5967753ecb
commit 8d86e11354

26
all
View File

@ -864,14 +864,28 @@ case "$cmd" in
mkdir -p Xonotic
git archive --format=tar HEAD -- Docs misc server xonotic-linux-glx.sh xonotic-linux-sdl.sh misc/buildfiles | {
cd Xonotic
mkdir data fteqcc
mkdir data fteqcc darkplaces-src fteqcc-src
tar xvf -
rm -rf misc/builddeps
mv misc/buildfiles/win32/* .
mv misc/buildfiles/win64/* .
mv misc/buildfiles/osx/* .
mv misc/buildfiles/win32/* . || true
mv misc/buildfiles/win64/* . || true
mv misc/buildfiles/osx/* . || true
rm -rf misc/buildfiles
}
{
cd darkplaces
git archive --format=tar HEAD
} | {
cd Xonotic/darkplaces-src
tar xvf -
}
{
cd fteqcc
git archive --format=tar HEAD
} | {
cd Xonotic/fteqcc-src
tar xvf -
}
;;
release-compile-run)
host=$1
@ -907,8 +921,8 @@ case "$cmd" in
fteqcc_files=$4
darkplaces_maketargets=$5
darkplaces_files=$6
"$SELF" release-compile-run "xonotic-build-$suffix" /tmp/fteqcc.build."$suffix" "$fteqcc_maketargets" "$makeflags" "fteqcc" "$fteqcc_files"
"$SELF" release-compile-run "xonotic-build-$suffix" /tmp/Darkplaces.build."$suffix" "$darkplaces_maketargets" "$makeflags" "darkplaces" "$darkplaces_files"
"$SELF" release-compile-run "xonotic-build-$suffix" /tmp/fteqcc.build."$suffix" "$fteqcc_maketargets" "$makeflags" "Xonotic/fteqcc-src" "$fteqcc_files"
"$SELF" release-compile-run "xonotic-build-$suffix" /tmp/Darkplaces.build."$suffix" "$darkplaces_maketargets" "$makeflags" "Xonotic/darkplaces-src" "$darkplaces_files"
;;
release-engine-win32)
"$SELF" release-compile win32 \