]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/build-environ.cfg
Use short filenames to avoid building under a path with spaces in it.
[wxWidgets.git] / distrib / scripts / build-environ.cfg
index e2073c7c976feb36f6c1572138542c94626c1d8e..2acc50aaa0738768a5066ed13d7e3692f6217d0e 100644 (file)
@@ -2,47 +2,38 @@
 # build environment settings. If you want to make considerable changes, then
 # you should create your own settings file and specify that to create-release.sh.
 
-# host name of the machine to use for windows builds
-WIN_HOST=192.168.1.104
-
-# Where is the build dir from the remote machine's perspective?
-WIN_BUILD=/cygdrive/c/wx2dev
-
-LINUX_HOST=192.168.1.105
-
-LINUX_BUILD=~/wx2dev
-
-MAC_HOST=192.168.1.103
-
-MAC_BUILD=~/wx2dev
 
 # the local spot that we put everything when done, before possibly copying 
 # to remote hosts
 STAGING_DIR=./BUILD
 
-# directory storing the final build files
-DIST_DIR=../deliver
-
 # directory to store the wx tree we pull from CVS
 WX_TEMP_DIR=/tmp/wx-temp
+SCRIPTDIR=`dirname $0`
+WX_WEB_DIR=$WX_TEMP_DIR/wxWebSite
+WX_SRC_DIR=$WX_TEMP_DIR/wxWidgets
+DOCDIR=${WX_TEMP_DIR}/wxWidgets/docs/
+# don't make this a subdir of wxWidgets... (or tar will bite recursively)
+DIST_DIR=${WX_TEMP_DIR}/deliver
+
+echo "temp dir is $WX_TEMP_DIR"
+echo script dir is $SCRIPTDIR
+CURDATE=`date -I`
 
 # build info
-BUILD_VERSION=2.7.0
+BUILD_VERSION=2.9.0
 BUILD_TAG=HEAD
 
-KIND=daily
-
-### Windows defines ###
-
-# so we can setup the Windows dev environment if it is not already done
-MSVS7_DIR="C:/Program Files/Microsoft Visual Studio 2003"
-NET_FrameworkDir="C:/Windows/Microsoft.NET/Framework"
-
-MSVS6_DIR="C:/Program Files/Microsoft Visual Studio"
-MSPSDK_DIR="C:/Program Files/Microsoft Platform SDK"
-
-### End Windows defines ###
+if [ "$KIND" = "release" ]; then
+   FTPDIR=/home/ftp/pub/${BUILD_VERSION}
+else
+   KIND=daily
+   BUILD_VERSION=${CURDATE}
+   FTPDIR=/home/ftp/pub/Daily_HEAD
+fi
 
+echo "Building for ${BUILD_VERSION}"
+               
 # Default build settings
 skipwin=no
 skipmac=no
@@ -53,4 +44,5 @@ setup_msvc_for_cygwin=yes
 rebake=yes
 
 # If building is successful, delete temp files?
-delete_temps=no
\ No newline at end of file
+delete_temps=no
+