# create wx tarballs automatically given a tag, or from CVS HEAD
PROGNAME=$0
-VERSION=$1
+VERSION=""
TAG=""
STARTDIR=$PWD
SPINWXMAC=0
SPINWXBASE=0
SPINWXMGL=0
+SPINWXALL=0
+SPINWXMSW=0
SPINDOCS=0
SPINEVERYTHING=0
REBAKE=0
echo " --wxmotif Spin wxMotif"
echo " --wxmac Spin wxMac"
echo " --wxmgl Spin wxMGL"
+ echo " --wxall Spin wxALL"
+ echo " --wxmsw Spin wxMSW"
echo " --docs Spin docs"
echo " --all Spin EVERYTHING"
echo " --updatecvs Update from CVS"
exit
fi
+VERSION=$1
shift 1
FINDTAG=`echo "$1" | sed /\-\-/p`
--wxmac) SPINWXMAC=1 ;;
--wxbase) SPINWXBASE=1 ;;
--wxmgl) SPINWXMGL=1 ;;
+ --wxmsw) SPINWXMSW=1 ;;
--wxmotif) SPINWXMOTIF=1 ;;
--docs) SPINDOCS=1 ;;
--all) SPINEVERYTHING=1 ;;
cd $STARTDIR/temp-wx
cvs -d:pserver:anoncvs:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets login
+echo "cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout $TAGNAME wxWidgets"
cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/pack/cvsroots/wxwidgets checkout $TAGNAME wxWidgets
if [ "$REBAKE" = "1" ]; then