wxWidgets/distrib/msw/tarmicrowin.sh
Julian Smart 217099990c Further wxUniv fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 19:18:30 +00:00

46 lines
803 B
Bash

#!/bin/sh
# tardist: make up a tar.gz distribution of wxMicroWindows.
init=""
if [ "$1" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$2" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$3" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
WXVER=$3
echo About to archive wxWindows:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $2/wxMicroWindows-${WXVER}.*
echo Tarring...
ls `cat $1/distrib/msw/microwin.rsp` > /tmp/files.txt
tar cvf $2/wxMicroWindows-${WXVER}.tar -T /tmp/files.txt
gzip $2/wxMicroWindows-${WXVER}.tar
mv $2/wxMicroWindows-${WXVER}.tar.gz $2/wxMicroWindows-${WXVER}.tgz
echo Done!