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
28 echo Usage
: tardist wx
-dir output
-dir version
34 echo Usage
: tardist wx
-dir output
-dir version
40 echo Usage
: tardist wx
-dir output
-dir version
46 echo About to archive wxWindows
:
49 echo CTRL
-C if this is not correct.
54 echo Removing backup files...
55 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
57 rm -f $2/wx
*-${WXVER}*.tgz
58 rm -f $2/tex2rtf2
-*.tgz
59 rm -f $2/dialoged
-*.tgz
65 rm -f $2/contrib
-*.tgz
72 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxgen.txt
73 tar cvf
$2/wxWindows
-${WXVER}-gen.
tar -T /tmp
/wxgen.txt
74 gzip $2/wxWindows
-${WXVER}-gen.
tar
75 mv $2/wxWindows
-${WXVER}-gen.
tar.gz
$2/wxWindows
-${WXVER}-gen.tgz
78 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` > /tmp
/wxgtk.txt
79 tar cvf
$2/wxGTK
-${WXVER}.
tar -T /tmp
/wxgtk.txt
80 gzip $2/wxGTK
-${WXVER}.
tar
81 mv $2/wxGTK
-${WXVER}.
tar.gz
$2/wxGTK
-${WXVER}.tgz
84 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` > /tmp
/wxmotif.txt
85 tar cvf
$2/wxMotif
-${WXVER}.
tar -T /tmp
/wxmotif.txt
86 gzip $2/wxMotif
-${WXVER}.
tar
87 mv $2/wxMotif
-${WXVER}.
tar.gz
$2/wxMotif
-${WXVER}.tgz
89 ### wxX: combined wxMotif and wxX11 distributions
90 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` | uniq > /tmp
/wxx.txt
91 tar cvf
$2/wxWindows
-X-${WXVER}.
tar -T /tmp
/wxx.txt
92 gzip $2/wxWindows
-X-${WXVER}.
tar
93 mv $2/wxWindows
-X-${WXVER}.
tar.gz
$2/wxWindows
-X-${WXVER}.tgz
96 ls `cat $1/distrib/msw/msw.rsp $1/distrib/msw/vc.rsp $1/distrib/msw/bc.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp` > /tmp
/wxmsw.txt
97 tar cvf
$2/wxMSW
-${WXVER}.
tar -T /tmp
/wxmsw.txt
98 gzip $2/wxMSW
-${WXVER}.
tar
99 mv $2/wxMSW
-${WXVER}.
tar.gz
$2/wxMSW
-${WXVER}.tgz
102 ls `cat $1/distrib/msw/docsrc.rsp` > /tmp
/docsrc.txt
103 tar cvf
$2/wxWindows
-${WXVER}-doc.
tar -T /tmp
/docsrc.txt
104 gzip $2/wxWindows
-${WXVER}-doc.
tar
105 mv $2/wxWindows
-${WXVER}-doc.
tar.gz
$2/wxWindows
-${WXVER}-doc.tgz
108 ls `cat $1/distrib/msw/wx_html.rsp` > /tmp
/html.txt
109 tar cvf
$2/wxWindows
-${WXVER}-htm.
tar -T /tmp
/html.txt
110 gzip $2/wxWindows
-${WXVER}-htm.
tar
111 mv $2/wxWindows
-${WXVER}-htm.
tar.gz
$2/wxWindows
-${WXVER}-htm.tgz
114 ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp
/pdf.txt
115 tar cvf
$2/wxWindows
-${WXVER}-pdf.
tar -T /tmp
/pdf.txt
116 gzip $2/wxWindows
-${WXVER}-pdf.
tar
117 mv $2/wxWindows
-${WXVER}-pdf.
tar.gz
$2/wxWindows
-${WXVER}-pdf.tgz
120 #ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
121 #tar cvf $2/wxWindows-${WXVER}-stubs.tar -T /tmp/stubs.txt
122 #gzip $2/wxWindows-${WXVER}-stubs.tar
123 #mv $2/wxWindows-${WXVER}-stubs.tar.gz $2/wxWindows-${WXVER}-stubs.tgz
126 ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp
/tex2rtf.txt
127 tar cvf
$2/tex2rtf2
-${WXVER}.
tar -T /tmp
/tex2rtf.txt
128 gzip $2/tex2rtf2
-${WXVER}.
tar
129 mv $2/tex2rtf2
-${WXVER}.
tar.gz
$2/tex2rtf2
-${WXVER}.tgz
132 ls `cat $1/distrib/msw/ogl.rsp` > /tmp
/ogl.txt
133 tar cvf
$2/ogl3
-${WXVER}.
tar -T /tmp
/ogl.txt
134 gzip $2/ogl3
-${WXVER}.
tar
135 mv $2/ogl3
-${WXVER}.
tar.gz
$2/ogl3
-${WXVER}.tgz
138 ls `cat $1/distrib/msw/jpeg.rsp` > /tmp
/jpeg.txt
139 tar cvf
$2/jpeg
-${WXVER}.
tar -T /tmp
/jpeg.txt
140 gzip $2/jpeg
-${WXVER}.
tar
141 mv $2/jpeg
-${WXVER}.
tar.gz
$2/jpeg
-${WXVER}.tgz
144 ls `cat $1/distrib/msw/tiff.rsp` > /tmp
/tiff.txt
145 tar cvf
$2/tiff
-${WXVER}.
tar -T /tmp
/tiff.txt
146 gzip $2/tiff
-${WXVER}.
tar
147 mv $2/tiff
-${WXVER}.
tar.gz
$2/tiff
-${WXVER}.tgz