r2882 - trunk/misc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Nov 1 07:15:28 EDT 2007


Author: div0
Date: 2007-11-01 07:15:28 -0400 (Thu, 01 Nov 2007)
New Revision: 2882

Modified:
   trunk/misc/makebuild.sh
Log:
fteqcc build now with GUI


Modified: trunk/misc/makebuild.sh
===================================================================
--- trunk/misc/makebuild.sh	2007-11-01 11:14:18 UTC (rev 2881)
+++ trunk/misc/makebuild.sh	2007-11-01 11:15:28 UTC (rev 2882)
@@ -57,16 +57,31 @@
 	path=$4
 	makeflags=$5
 	strip=$6
+
+	fteqccflags=
+	case "$fteqccname" in
+		*.exe)
+			fteqccflags=win
+			;;
+	esac
+
 	rm -f "$fteqccdir"/*.o
 	rm -f "$fteqccdir"/*.bin
 	rsync --exclude "*.o" --exclude "*.d" --exclude "nexuiz-*" --delete-excluded --delete -zvaSHP . "$copystrip" "$fteqccdir" "$host:$path"
-	ssh "$host" ". ~/.profile && cd $path && COPYSTRIP_STRIP=$strip PATH=$path/copystrip:\$PATH make $makeflags clean nexuiz && cd ${fteqccdir##*/} && make $makeflags BASE_CFLAGS=-DQCCONLY"
+	ssh "$host" ". ~/.profile && cd $path && COPYSTRIP_STRIP=$strip PATH=$path/copystrip:\$PATH make $makeflags clean nexuiz && cd ${fteqccdir##*/} && make $makeflags $fteqccflags"
 	rsync --exclude "*.o" --exclude "*.d" --delete-excluded --delete -zvaSHP "$host:$path/." .
 	for P in -dedicated -sdl -glx -wgl -agl -dedicated.exe -sdl.exe .exe; do
 		[ -f nexuiz$P ] && mv nexuiz$P "$tmpdir/$prefix$P"
 		[ -f nexuiz$P-withdebug ] && mv nexuiz$P-withdebug "$tmpdir/debuginfo/$prefix$P"
 	done
-	mv "${fteqccdir##*/}"/fteqcc.bin "$tmpdir/fteqcc/$fteqccname"
+	case "$fteqccname" in
+		*.exe)
+			mv "${fteqccdir##*/}"/fteqcc.exe "$tmpdir/fteqcc/$fteqccname"
+			;;
+		*)
+			mv "${fteqccdir##*/}"/fteqcc.bin "$tmpdir/fteqcc/$fteqccname"
+			;;
+	esac
 	make clean
 }
 




More information about the nexuiz-commits mailing list