2 # Build application and make a tarball. 
   4 cd ~
/wxconfigtool
-build 
   6 echo Building wxWindows...
 
   9 rm -f wxconfigtool
-build-release/wxconfigtool
 
  11 if [ "$1" = "clean" ]; then 
  12   rm -f wxconfigtool
-build-release/* 
  15 echo Building Application...
 
  18 if [ ! -f wxconfigtool
-build-release/wxconfigtool 
]; then 
  19   echo *** Sorry
, wxconfigtool was not built correctly.
 
  23 echo Making tarball...
 
  24 makeapp release release
 
  26 # appver will have been written by the 'release' target. 
  29 cd /tmp
/wxconfigtool
-deliver 
  30 APPARCHIVE
=wxconfigtool
-$APPVER-i386.
tar.gz
 
  32 # echo Copying tarball $APPARCHIVE to ftp site... 
  33 # You can use a script to copy this to an ftp site, 
  34 # using for example, the 'curl' utility. 
  35 # curl ftp://www.mysite.com/$APPARCHIVE --user "myname:mypassword" --upload-file $APPARCHIVE 
  37 echo Done building and archiving wxconfigtool.