]> git.saurik.com Git - wxWidgets.git/blame - utils/configtool/scripts/buildapp
don't crash when XIM is used under IRIX
[wxWidgets.git] / utils / configtool / scripts / buildapp
CommitLineData
d7463f75
JS
1#!/bin/sh
2# Build application and make a tarball.
3
4cd ~/wxconfigtool-build
5
6echo Building wxWindows...
7makeapp release wx
8
9rm -f wxconfigtool-build-release/wxconfigtool
10
11if [ "$1" = "clean" ]; then
12 rm -f wxconfigtool-build-release/*
13fi
14
15echo Building Application...
16makeapp release all
17
18if [ ! -f wxconfigtool-build-release/wxconfigtool ]; then
19 echo *** Sorry, wxconfigtool was not built correctly.
20 exit
21fi
22
23echo Making tarball...
24makeapp release release
25
26# appver will have been written by the 'release' target.
27APPVER=`/tmp/appver`
28
29cd /tmp/wxconfigtool-deliver
30APPARCHIVE=wxconfigtool-$APPVER-i386.tar.gz
31
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
36
37echo Done building and archiving wxconfigtool.