]>
git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tarwxall
2 # tarwxall: make up a tar.gz distribution of wxAll
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
: tarwxall wx
-dir output
-dir version
42 echo Usage
: tarwxall wx
-dir output
-dir version
48 echo Usage
: tarwxall wx
-dir output
-dir version
54 echo About to archive wxAll
:
57 echo CTRL
-C if this is not correct.
62 echo Removing backup files...
63 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
65 rm -f $2/wxAll
-${WXVER}*.
tar.gz
67 ### wxAll: all distributions in one giant archive
69 cat $1/distrib
/msw
/generic.rsp
$1/distrib
/msw
/msw.rsp
$1/distrib
/msw
/vc.rsp
$1/distrib
/msw
/cw.rsp
$1/distrib
/msw
/cw_mac.rsp
$1/distrib
/msw
/gtk.rsp
$1/distrib
/msw
/x11.rsp
$1/distrib
/msw
/motif.rsp
$1/distrib
/msw
/mac.rsp
$1/distrib
/msw
/os2.rsp
$1/distrib
/msw
/x11.rsp
$1/distrib
/msw
/univ.rsp
$1/distrib
/msw
/mgl.rsp
$1/distrib
/msw
/contrib.rsp
$1/distrib
/msw
/utilmake.rsp
$1/distrib
/msw
/utils.rsp
$1/distrib
/msw
/mmedia.rsp
$1/distrib
/msw
/tex2rtf.rsp
$1/distrib
/msw
/stc.rsp
$1/distrib
/msw
/xml.rsp
$1/distrib
/msw
/dialoged.rsp
$1/distrib
/msw
/ogl.rsp
$1/distrib
/msw
/makefile.rsp
$1/distrib
/msw
/tiff.rsp
$1/distrib
/msw
/jpeg.rsp
$1/distrib
/msw
/docsrc.rsp
| uniq > /tmp
/wxall_in.txt
70 expandlines
/tmp
/wxall_in.txt
/tmp
/wxall.txt
71 $TAR cf
$2/wxAll
-${WXVER}.
tar -T /tmp
/wxall.txt
73 echo Re
-tarring wxAll
in a subdirectory...
75 rm -f -r wxWindows
-${WXVER}
76 mkdir wxWindows
-${WXVER}
78 $TAR xf ..
/wxAll
-${WXVER}.
tar
80 rm -f wxAll
-${WXVER}.
tar
81 $TAR cf
$2/wxAll
-${WXVER}.
tar wxWindows
-${WXVER}/*
82 rm -f -r wxWindows
-${WXVER}
83 gzip $2/wxAll
-${WXVER}.
tar