<?xml version="1.0" ?>
<bakefile-gen>
- <include file="../../build/bakefiles/Bakefiles.bkgen"/>
+ <!-- this file is a symlink -->
+ <include file="Bakefiles.bkgen"/>
<!-- add extra formats to release -->
<enable-formats>dmars,dmars_smake,msevc4prj</enable-formats>
-</bakefile-gen>
\ No newline at end of file
+</bakefile-gen>
+
ZIPFLAGS=
PROGNAME=$0
-SCRIPTDIR=$WXWIN/distrib/scripts
+##SCRIPTDIR=$WXWIN/distrib/scripts
. $SCRIPTDIR/utils.inc
-MANIFESTDIR=$SCRIPTDIR/manifests
+MANIFESTDIR=$WXWIN/distrib/scripts/manifests
WEBFILES=$WXWIN/../wxWebSite
if [ ! "$CYGPATH" = "" ]; then
WEBFILES=`$CYGPATH "$WEBFILES"`
copyfilelist $portfiles $APPDIR $TMPFILESDIR
if [ $port = "msw" ]; then
- FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec distrib/scripts/is_text.sh {} \; -print \)`
+ FILES=`find . -type f \( -path '*/CVS/*' -prune -o -exec ${SCRIPTDIR}/is_text.sh {} \; -print \)`
echo "$FILES" > /tmp/textfiles
fi
popd
rm -rf /tmp/wx$port
rm ${portfiles}
- rm /tmp/textfiles
+# rm /tmp/textfiles
}
prepareforrelease()
echo "$WX_TEMP_DIR"
START_DIR="$PWD"
+SCRIPTDIR=${START_DIR}/scripts
WX_WEB_DIR=$WX_TEMP_DIR/wxWebSite
WX_SRC_DIR=$WX_TEMP_DIR/wxWidgets
#re-bake the bakefiles
if [ $rebake = "yes" ]; then
cd $WX_SRC_DIR/build/bakefiles
- bakefile_gen -d ../../distrib/scripts/Bakefiles.release.bkgen
+ bakefile_gen -d ${SCRIPTDIR}/Bakefiles.release.bkgen
fi
cd $WX_SRC_DIR
export APPDIR=$WX_TEMP_DIR/wxWidgets
export WXWIN=$WX_TEMP_DIR/wxWidgets
export VERSION=$BUILD_VERSION
+export SCRIPTDIR=${SCRIPTDIR}
+
#remove old files
rm -rf $APPDIR/deliver/*
rm -rf $START_DIR/$DIST_DIR/*
tar czf $START_DIR/$DIST_DIR/wxWidgets-snapshot-$BUILD_VERSION.tar.gz `basename $APPDIR`
#export DESTDIR=$STAGING_DIR
-cp $START_DIR/scripts/create_archives.sh $APPDIR/distrib/scripts
+cp $SCRIPTDIR/create_archives.sh $APPDIR/distrib/scripts
chmod +x $APPDIR/distrib/scripts/create_archives.sh
$APPDIR/distrib/scripts/create_archives.sh --all
cp $APPDIR/deliver/*.tar.gz $START_DIR/$DIST_DIR
cp $APPDIR/deliver/*.tar.bz2 $START_DIR/$DIST_DIR
-echo "Tarball located at: $WX_TARBALL"
+echo "Tarballs located at: $START_DIR/$DIST_DIR"
if [ ! -f $WX_TARBALL ]; then
echo "ERROR: wxAll tarball was not created by pre-flight.sh. Build cannot continue."