2 # tardist: make up a tar.gz distribution of wxWindows 2
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
17 for line
in `cat $toexpand` ; do
18 if [ $line != "" ]; then
19 ls $line >> $outputfile
37 echo About to archive wxWindows
:
40 echo CTRL
-C if this is not correct.
45 echo Removing backup files...
46 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
48 rm -f $2/wx
${WXVER}*.tgz
57 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxgen.txt
58 tar cvf
$2/wx
${WXVER}gen.
tar -T /tmp
/wxgen.txt
59 gzip $2/wx
${WXVER}gen.
tar
60 mv $2/wx
${WXVER}gen.
tar.gz
$2/wx
${WXVER}gen.tgz
63 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxgtk.txt
64 tar cvf
$2/wx
${WXVER}gtk.
tar -T /tmp
/wxgtk.txt
65 gzip $2/wx
${WXVER}gtk.
tar
66 mv $2/wx
${WXVER}gtk.
tar.gz
$2/wx
${WXVER}gtk.tgz
69 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxmotif.txt
70 tar cvf
$2/wx
${WXVER}mot.
tar -T /tmp
/wxmotif.txt
71 gzip $2/wx
${WXVER}mot.
tar
72 mv $2/wx
${WXVER}mot.
tar.gz
$2/wx
${WXVER}mot.tgz
75 ls `cat $1/distrib/msw/docsrc.rsp` > /tmp
/docsrc.txt
76 tar cvf
$2/wx
${WXVER}doc.
tar -T /tmp
/docsrc.txt
77 gzip $2/wx
${WXVER}doc.
tar
78 mv $2/wx
${WXVER}doc.
tar.gz
$2/wx
${WXVER}doc.tgz
81 ls `cat $1/distrib/msw/wx_html.rsp` > /tmp
/html.txt
82 tar cvf
$2/wx
${WXVER}htm.
tar -T /tmp
/html.txt
83 gzip $2/wx
${WXVER}htm.
tar
84 mv $2/wx
${WXVER}htm.
tar.gz
$2/wx
${WXVER}htm.tgz
87 ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp
/pdf.txt
88 tar cvf
$2/wx
${WXVER}pdf.
tar -T /tmp
/pdf.txt
89 gzip $2/wx
${WXVER}pdf.
tar
90 mv $2/wx
${WXVER}pdf.
tar.gz
$2/wx
${WXVER}pdf.tgz
93 ls `cat $1/distrib/msw/stubs.rsp` > /tmp
/stubs.txt
94 tar cvf
$2/wx
${WXVER}stubs.
tar -T /tmp
/stubs.txt
95 gzip $2/wx
${WXVER}stubs.
tar
96 mv $2/wx
${WXVER}stubs.
tar.gz
$2/wx
${WXVER}stubs.tgz
99 ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp
/tex2rtf.txt
100 tar cvf
$2/tex2rtf2.
tar -T /tmp
/tex2rtf.txt
102 mv $2/tex2rtf2.
tar.gz
$2/tex2rtf2.tgz
105 ls `cat $1/distrib/msw/ogl.rsp` > /tmp
/ogl.txt
106 tar cvf
$2/ogl3.
tar -T /tmp
/ogl.txt
108 mv $2/ogl3.
tar.gz
$2/ogl3.tgz
111 ls `cat $1/distrib/msw/jpeg.rsp` > /tmp
/jpeg.txt
112 tar cvf
$2/jpeg.
tar -T /tmp
/jpeg.txt
114 mv $2/jpeg.
tar.gz
$2/jpeg.tgz
117 ls `cat $1/distrib/msw/tiff.rsp` > /tmp
/tiff.txt
118 tar cvf
$2/tiff.
tar -T /tmp
/tiff.txt
120 mv $2/tiff.
tar.gz
$2/tiff.tgz