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