]>
git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/build-linux.sh
2 #----------------------------------------------------------------------
6 if [ $skiplinux != yes ]; then
7 # test if the target machine is online
8 #if ping -q -c1 $WIN_HOST > /dev/null; then
9 #echo " The $WIN_HOST machine is online, Windows build continuing..."
11 #echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
15 echo "Copying source file and build script..."
16 scp
-r $STAGING_DIR/* $LINUX_HOST:$LINUX_BUILD
18 echo "Untarring dist on $LINUX_HOST..."
19 wxtarball
=$LINUX_BUILD/wxWidgets
-$BUILD_VERSION.
tar.gz
21 ssh $LINUX_HOST "cd $LINUX_BUILD && $cmd $wxtarball"
23 echo "Running build script on $LINUX_HOST..."
24 wxdir
=$LINUX_BUILD/wxWidgets
25 cmd
="./distrib/scripts/unix/maketarballs $wxdir $wxdir/deliver $BUILD_VERSION --wxgtk --wxmotif --wxx11 --wxbase --wxmgl --silent"
26 ssh $LINUX_HOST "cd $wxdir && chmod +x distrib/scripts/unix/maketarballs && $cmd"
28 echo "Fetching the results..."
29 scp
"$LINUX_HOST:$wxdir/deliver/*.tar.gz " $DIST_DIR
30 scp
"$LINUX_HOST:$wxdir/deliver/*.tar.bz2 " $DIST_DIR