]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/build-environ.cfg
Cache user and group name as these can be expensive to get on some systems.
[wxWidgets.git] / distrib / scripts / build-environ.cfg
index 51c3c10a6ea3994a1d21b252194aa05966332d10..2acc50aaa0738768a5066ed13d7e3692f6217d0e 100644 (file)
@@ -2,36 +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.105
-
-# Where is the build dir from the remote machine's perspective?
-WIN_BUILD="/cygdrive/c/wx2dev"
-
-LINUX_HOST=192.168.1.106
-
-LINUX_BUILD=/home/kevino/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"
-
-# so we can setup the Windows dev environment if it is not already done
-MSVS7_DIR="C:/Program Files/Microsoft Visual Studio 2003"
-MSVC_VERSION=7
+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
@@ -39,7 +41,8 @@ skiplinux=no
 setup_msvc_for_cygwin=yes
 
 # this can take time too, so turn it off if we know we don't need to.
-rebake="no"
+rebake=yes
 
 # If building is successful, delete temp files?
-delete_temps="no"
\ No newline at end of file
+delete_temps=no
+