Added first cut wxWindows Configuration Tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
37
utils/configtool/scripts/buildapp
Normal file
37
utils/configtool/scripts/buildapp
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
# Build application and make a tarball.
|
||||
|
||||
cd ~/wxconfigtool-build
|
||||
|
||||
echo Building wxWindows...
|
||||
makeapp release wx
|
||||
|
||||
rm -f wxconfigtool-build-release/wxconfigtool
|
||||
|
||||
if [ "$1" = "clean" ]; then
|
||||
rm -f wxconfigtool-build-release/*
|
||||
fi
|
||||
|
||||
echo Building Application...
|
||||
makeapp release all
|
||||
|
||||
if [ ! -f wxconfigtool-build-release/wxconfigtool ]; then
|
||||
echo *** Sorry, wxconfigtool was not built correctly.
|
||||
exit
|
||||
fi
|
||||
|
||||
echo Making tarball...
|
||||
makeapp release release
|
||||
|
||||
# appver will have been written by the 'release' target.
|
||||
APPVER=`/tmp/appver`
|
||||
|
||||
cd /tmp/wxconfigtool-deliver
|
||||
APPARCHIVE=wxconfigtool-$APPVER-i386.tar.gz
|
||||
|
||||
# echo Copying tarball $APPARCHIVE to ftp site...
|
||||
# You can use a script to copy this to an ftp site,
|
||||
# using for example, the 'curl' utility.
|
||||
# curl ftp://www.mysite.com/$APPARCHIVE --user "myname:mypassword" --upload-file $APPARCHIVE
|
||||
|
||||
echo Done building and archiving wxconfigtool.
|
Reference in New Issue
Block a user