]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tarmicrowin.sh
fix for stupid segfault
[wxWidgets.git] / distrib / msw / tarmicrowin.sh
1 #!/bin/sh
2 # tardist: make up a tar.gz distribution of wxMicroWindows.
3
4 init=""
5 if [ "$1" = "" ]
6 then
7 echo Usage: tardist wx-dir output-dir version
8 exit
9 fi
10
11 if [ "$2" = "" ]
12 then
13 echo Usage: tardist wx-dir output-dir version
14 exit
15 fi
16
17 if [ "$3" = "" ]
18 then
19 echo Usage: tardist wx-dir output-dir version
20 exit
21 fi
22
23 WXVER=$3
24
25 echo About to archive wxWindows:
26 echo From $1
27 echo To $2
28 echo CTRL-C if this is not correct.
29 read dummy
30
31 cd $1
32
33 echo Removing backup files...
34 rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
35
36 rm -f $2/wxMicroWindows-${WXVER}.*
37
38 echo Tarring...
39
40 ls `cat $1/distrib/msw/microwin.rsp` > /tmp/files.txt
41 tar cvf $2/wxMicroWindows-${WXVER}.tar -T /tmp/files.txt
42 gzip $2/wxMicroWindows-${WXVER}.tar
43 mv $2/wxMicroWindows-${WXVER}.tar.gz $2/wxMicroWindows-${WXVER}.tgz
44
45 echo Done!