]>
git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tarwxmac
2 # tarwxmac: make up a tar.gz distribution of wxMac
3 # Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
5 # We can't use e.g. this:
6 # ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWindows-$VERSION-gen.zip
7 # because there's not enough space on the command line, plus we need to ignore the
12 if [ "$ARCH" = "ppc" ]; then
23 for line
in `cat $toexpand` ; do
24 if [ "$line" != "" ]; then
25 ls $line >> $outputfile
27 uniq < $outputfile > /tmp
/uniqtemp.txt
28 mv /tmp
/uniqtemp.txt
$outputfile
36 echo Usage
: tardist wx
-dir output
-dir version
42 echo Usage
: tardist wx
-dir output
-dir version
48 echo Usage
: tardist wx
-dir output
-dir version
54 echo About to archive wxMac
:
57 echo CTRL
-C if this is not correct.
62 echo Removing backup files...
63 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
65 rm -f $2/wxMac
-${WXVER}*.
tar.gz
66 rm -f -r $2/wxMac
-${WXVER}
68 cp $1/include
/wx
/mac
/setup0.h
$1/include
/wx
/setup.h
73 cat $1/distrib
/msw
/mac.rsp
$1/distrib
/msw
/generic.rsp
$1/distrib
/msw
/cw.rsp
$1/distrib
/msw
/tex2rtf.rsp
$1/distrib
/msw
/utils.rsp
$1/distrib
/msw
/dialoged.rsp
$1/distrib
/msw
/ogl.rsp
$1/distrib
/msw
/stc.rsp
$1/distrib
/msw
/xml.rsp
$1/distrib
/msw
/contrib.rsp
$1/distrib
/msw
/makefile.rsp
$1/distrib
/msw
/tiff.rsp
$1/distrib
/msw
/jpeg.rsp
> /tmp
/wxmac_in.txt
74 expandlines
/tmp
/wxmac_in.txt
/tmp
/wxmac.txt
75 $TAR cf
$2/wxMac
-${WXVER}.
tar -T /tmp
/wxmac.txt
77 rm -f $1/include
/wx
/setup.h
79 echo Re
-tarring in a subdirectory...
81 mkdir wxWindows
-${WXVER}
83 $TAR xf ..
/wxMac
-${WXVER}.
tar
86 rm -f -r contrib
/src
/mmedia contrib
/samples
/mmedia
88 rm -f wxMac
-${WXVER}.
tar
90 $TAR cf
$2/wxMac
-${WXVER}.
tar wxWindows
-${WXVER}/*
91 rm -f -r wxWindows
-${WXVER}
92 gzip $2/wxMac
-${WXVER}.
tar
94 # Copy readme and other files
95 cp $1/docs
/readme.txt
$2/readme
-${WXVER}.txt
96 cp $1/docs
/changes.txt
$2/changes
-${WXVER}.txt
97 cp $1/docs
/mac
/readme.txt
$2/readme
-mac-${WXVER}.txt
98 cp $1/docs
/mac
/install.txt
$2/install-mac-${WXVER}.txt