2 # tardist: make up a tar.gz distribution of wxWidgets 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/wxWidgets-$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
35 echo Removing backup files...
36 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
38 rm -f $WXDEST/wx
*-${WXVER}*.
tar.gz
40 cp $WXSRC/include
/wx
/msw
/setup0.h
$WXSRC/include
/wx
/msw
/setup.h
41 cp $WXSRC/include
/wx
/univ
/setup0.h
$WXSRC/include
/wx
/univ
/setup.h
43 # Copy readme and other files
45 cp $WXSRC/docs
/readme.txt
$WXDEST/readme
-${WXVER}.txt
46 cp $WXSRC/docs
/changes.txt
$WXDEST/changes
-${WXVER}.txt
48 cp $WXSRC/docs
/mgl
/readme.txt
$WXDEST/readme
-mgl-${WXVER}.txt
49 cp $WXSRC/docs
/mgl
/install.txt
$WXDEST/install-mgl-${WXVER}.txt
51 cp $WXSRC/docs
/x
11/readme.txt
$WXDEST/readme
-x11-${WXVER}.txt
52 # cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt
53 cp $WXSRC/docs
/x
11/install.txt
$WXDEST/install-x11-${WXVER}.txt
55 cp $WXSRC/docs
/motif
/readme.txt
$WXDEST/readme
-motif-${WXVER}.txt
56 cp $WXSRC/docs
/motif
/install.txt
$WXDEST/install-motif-${WXVER}.txt
58 cp $WXSRC/docs
/msw
/readme.txt
$WXDEST/readme
-msw-${WXVER}.txt
59 cp $WXSRC/docs
/msw
/install.txt
$WXDEST/install-msw-${WXVER}.txt
61 cp $WXSRC/docs
/gtk
/readme.txt
$WXDEST/readme
-gtk-${WXVER}.txt
62 cp $WXSRC/docs
/gtk
/install.txt
$WXDEST/install-gtk-${WXVER}.txt
64 cp $WXSRC/docs
/mac
/readme.txt
$WXDEST/readme
-mac-${WXVER}.txt
65 cp $WXSRC/docs
/mac
/install.txt
$WXDEST/install-mac-${WXVER}.txt
67 cp $WXSRC/docs
/cocoa
/readme.txt
$WXDEST/readme
-cocoa-${WXVER}.txt
68 cp $WXSRC/docs
/cocoa
/install.txt
$WXDEST/install-cocoa-${WXVER}.txt
70 cp $WXSRC/docs
/os
2/install.txt
$WXDEST/install-os2-${WXVER}.txt
82 cat $WXSRC/distrib
/msw
/generic.rsp
$WXSRC/distrib
/msw
/contrib.rsp
$WXSRC/distrib
/msw
/deprecated.rsp
$WXSRC/distrib
/msw
/stc.rsp
$WXSRC/distrib
/msw
/xml.rsp
$WXSRC/distrib
/msw
/utils.rsp
$WXSRC/distrib
/msw
/ogl.rsp
$WXSRC/distrib
/msw
/tex2rtf.rsp
$WXSRC/distrib
/msw
/gtk.rsp
$WXSRC/distrib
/msw
/makefile.rsp
$WXSRC/distrib
/msw
/tiff.rsp
$WXSRC/distrib
/msw
/jpeg.rsp
> /tmp
/wxgtk_in.txt
83 expandlines
/tmp
/wxgtk_in.txt
/tmp
/wxgtk.txt
84 $TAR cf
$WXDEST/wxGTK
-${WXVER}.
tar -T /tmp
/wxgtk.txt
86 echo Re
-tarring wxGTK
in a subdirectory...
90 $TAR xf ..
/wxGTK
-${WXVER}.
tar
91 echo Copying readme files...
92 cp $WXSRC/docs
/gtk
/readme.txt README
-GTK.txt
93 cp $WXSRC/docs
/gtk
/install.txt INSTALL
-GTK.txt
94 cp $WXSRC/docs
/readme.txt README.txt
95 cp $WXSRC/docs
/changes.txt CHANGES.txt
96 cp $WXSRC/docs
/licence.txt LICENCE.txt
97 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
99 rm -f wxGTK
-${WXVER}.
tar
100 $TAR cf
$WXDEST/wxGTK
-${WXVER}.
tar wxGTK
-${WXVER}/*
101 rm -f -r wxGTK
-${WXVER}
102 gzip $WXDEST/wxGTK
-${WXVER}.
tar
107 echo Tarring wxMotif...
110 cat $WXSRC/distrib
/msw
/generic.rsp
$WXSRC/distrib
/msw
/motif.rsp
$WXSRC/distrib
/msw
/contrib.rsp
$WXSRC/distrib
/msw
/deprecated.rsp
$WXSRC/distrib
/msw
/stc.rsp
$WXSRC/distrib
/msw
/xml.rsp
$WXSRC/distrib
/msw
/ogl.rsp
$WXSRC/distrib
/msw
/makefile.rsp
$WXSRC/distrib
/msw
/tiff.rsp
$WXSRC/distrib
/msw
/jpeg.rsp
> /tmp
/wxmotif_in.txt
111 expandlines
/tmp
/wxmotif_in.txt
/tmp
/wxmotif.txt
112 $TAR cf
$WXDEST/wxMotif
-${WXVER}.
tar -T /tmp
/wxmotif.txt
114 echo Re
-tarring wxMotif
in a subdirectory...
116 mkdir wxMotif
-${WXVER}
118 $TAR xf ..
/wxMotif
-${WXVER}.
tar
119 echo Copying readme files...
120 cp $WXSRC/docs
/motif
/readme.txt README
-MOTIF.txt
121 cp $WXSRC/docs
/motif
/install.txt INSTALL
-MOTIF.txt
122 cp $WXSRC/docs
/readme.txt README.txt
123 cp $WXSRC/docs
/changes.txt CHANGES.txt
124 cp $WXSRC/docs
/licence.txt LICENCE.txt
125 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
127 rm -f wxMotif
-${WXVER}.
tar
128 $TAR cf
$WXDEST/wxMotif
-${WXVER}.
tar wxMotif
-${WXVER}/*
129 rm -f -r wxMotif
-${WXVER}
130 gzip $WXDEST/wxMotif
-${WXVER}.
tar
135 echo Tarring wxX11...
137 ### wxX11: combined wxMotif and wxX11 distributions
139 cat $WXSRC/distrib
/msw
/generic.rsp
$WXSRC/distrib
/msw
/motif.rsp
$WXSRC/distrib
/msw
/x11.rsp
$WXSRC/distrib
/msw
/univ.rsp
$WXSRC/distrib
/msw
/contrib.rsp
$WXSRC/distrib
/msw
/deprecated.rsp
$WXSRC/distrib
/msw
/stc.rsp
$WXSRC/distrib
/msw
/utils.rsp
$WXSRC/distrib
/msw
/xml.rsp
$WXSRC/distrib
/msw
/ogl.rsp
$WXSRC/distrib
/msw
/makefile.rsp
$WXSRC/distrib
/msw
/tiff.rsp
$WXSRC/distrib
/msw
/jpeg.rsp
> /tmp
/wxx11_in.txt
140 expandlines
/tmp
/wxx11_in.txt
/tmp
/wxx11.txt
141 $TAR cf
$WXDEST/wxX11
-${WXVER}.
tar -T /tmp
/wxx11.txt
143 echo Re
-tarring wxX11
in a subdirectory...
147 $TAR xf ..
/wxX11
-${WXVER}.
tar
148 echo Copying readme files...
149 cp $WXSRC/docs
/motif
/readme.txt README
-MOTIF.txt
150 cp $WXSRC/docs
/motif
/install.txt INSTALL
-MOTIF.txt
151 cp $WXSRC/docs
/x
11/readme.txt README
-X11.txt
152 cp $WXSRC/docs
/x
11/install.txt INSTALL
-X11.txt
153 cp $WXSRC/docs
/readme.txt README.txt
154 cp $WXSRC/docs
/changes.txt CHANGES.txt
155 cp $WXSRC/docs
/licence.txt LICENCE.txt
156 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
158 rm -f wxX11
-${WXVER}.
tar
159 $TAR cf
$WXDEST/wxX11
-${WXVER}.
tar wxX11
-${WXVER}/*
160 rm -f -r wxX11
-${WXVER}
161 gzip $WXDEST/wxX11
-${WXVER}.
tar
166 # cat $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/bc.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmsw_in.txt
167 # expandlines /tmp/wxmsw_in.txt /tmp/wxmsw.txt
168 # $TAR cf $WXDEST/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt
169 # gzip $WXDEST/wxMSW-${WXVER}.tar
173 echo Tarring wxMac...
175 cp $WXSRC/include
/wx
/mac
/setup0.h
$WXSRC/include
/wx
/setup.h
176 cp $WXSRC/include
/wx
/mac
/setup0.h
$WXSRC/include
/wx
/mac
/setup.h
178 cat $WXSRC/distrib
/msw
/mac.rsp
$WXSRC/distrib
/msw
/cocoa.rsp
$WXSRC/distrib
/msw
/generic.rsp
$WXSRC/distrib
/msw
/cw_mac.rsp
$WXSRC/distrib
/msw
/tex2rtf.rsp
$WXSRC/distrib
/msw
/utils.rsp
$WXSRC/distrib
/msw
/ogl.rsp
$WXSRC/distrib
/msw
/stc.rsp
$WXSRC/distrib
/msw
/xml.rsp
$WXSRC/distrib
/msw
/contrib.rsp
$WXSRC/distrib
/msw
/deprecated.rsp
$WXSRC/distrib
/msw
/makefile.rsp
$WXSRC/distrib
/msw
/tiff.rsp
$WXSRC/distrib
/msw
/jpeg.rsp
> /tmp
/wxmac_in.txt
179 expandlines
/tmp
/wxmac_in.txt
/tmp
/wxmac.txt
180 $TAR cf
$WXDEST/wxMac
-${WXVER}.
tar -T /tmp
/wxmac.txt
182 rm -f $WXSRC/include
/wx
/setup.h
184 echo Re
-tarring wxMac
in a subdirectory...
189 # If we have the full set of Mac CW project files,
191 if [ -f $WXDEST/extra
/wxWidgets
-${WXVER}-CW-Mac.
zip ]; then
192 unzip -o $WXDEST/extra
/wxWidgets
-${WXVER}-CW-Mac.
zip
194 echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-CW-Mac.zip"
197 $TAR xf ..
/wxMac
-${WXVER}.
tar
198 rm -f -r contrib
/src
/mmedia contrib
/samples
/mmedia
199 echo Copying readme files...
200 cp $WXSRC/docs
/mac
/readme.txt README
-MAC.txt
201 cp $WXSRC/docs
/mac
/install.txt INSTALL
-MAC.txt
202 cp $WXSRC/docs
/readme.txt README.txt
203 cp $WXSRC/docs
/changes.txt CHANGES.txt
204 cp $WXSRC/docs
/licence.txt LICENCE.txt
205 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
207 rm -f wxMac
-${WXVER}.
tar
208 $TAR cf
$WXDEST/wxMac
-${WXVER}.
tar wxMac
-${WXVER}/*
209 rm -f -r wxMac
-${WXVER}
210 gzip $WXDEST/wxMac
-${WXVER}.
tar
213 ### wxUniv: universal-specific files
215 #cat $WXSRC/distrib/msw/univ.rsp > /tmp/wxuniv_in.txt
216 #expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt
217 #$TAR cf $WXDEST/wxWidgets-${WXVER}-Univ.tar -T /tmp/wxuniv.txt
219 #echo Re-tarring wxUniversal in a subdirectory...
221 #mkdir wxWidgets-${WXVER}
222 #cd wxWidgets-${WXVER}
223 #$TAR xf ../wxWidgets-${WXVER}-Univ.tar
225 #rm -f wxWidgets-${WXVER}-Univ.tar
226 #$TAR cf $WXDEST/wxWidgets-${WXVER}-Univ.tar wxWidgets-${WXVER}/*
227 #rm -f -r wxWidgets-${WXVER}
228 #gzip $WXDEST/wxWidgets-${WXVER}-Univ.tar
232 echo Tarring wxAll...
234 ### wxAll: all distributions in one giant archive
236 cat $WXSRC/distrib
/msw
/generic.rsp
$WXSRC/distrib
/msw
/msw.rsp
$WXSRC/distrib
/msw
/wince.rsp
$WXSRC/distrib
/msw
/vc.rsp
$WXSRC/distrib
/msw
/cw.rsp
$WXSRC/distrib
/msw
/cw_mac.rsp
$WXSRC/distrib
/msw
/gtk.rsp
$WXSRC/distrib
/msw
/x11.rsp
$WXSRC/distrib
/msw
/motif.rsp
$WXSRC/distrib
/msw
/mac.rsp
$WXSRC/distrib
/msw
/cocoa.rsp
$WXSRC/distrib
/msw
/os2.rsp
$WXSRC/distrib
/msw
/palmos.rsp
$WXSRC/distrib
/msw
/x11.rsp
$WXSRC/distrib
/msw
/univ.rsp
$WXSRC/distrib
/msw
/mgl.rsp
$WXSRC/distrib
/msw
/contrib.rsp
$WXSRC/distrib
/msw
/deprecated.rsp
$WXSRC/distrib
/msw
/utilmake.rsp
$WXSRC/distrib
/msw
/utils.rsp
$WXSRC/distrib
/msw
/mmedia.rsp
$WXSRC/distrib
/msw
/tex2rtf.rsp
$WXSRC/distrib
/msw
/stc.rsp
$WXSRC/distrib
/msw
/xml.rsp
$WXSRC/distrib
/msw
/ogl.rsp
$WXSRC/distrib
/msw
/makefile.rsp
$WXSRC/distrib
/msw
/tiff.rsp
$WXSRC/distrib
/msw
/jpeg.rsp
$WXSRC/distrib
/msw
/docsrc.rsp
| uniq > /tmp
/wxall_in.txt
237 expandlines
/tmp
/wxall_in.txt
/tmp
/wxall.txt
238 $TAR cf
$WXDEST/wxWidgets
-${WXVER}.
tar -T /tmp
/wxall.txt
240 echo Re
-tarring wxAll
in a subdirectory...
242 mkdir wxWidgets
-${WXVER}
244 cd wxWidgets
-${WXVER}
246 # If we have the full set of VC++ project files,
248 if [ -f $WXDEST/extra
/wxWidgets
-${WXVER}-VC.
zip ]; then
249 unzip -o $WXDEST/extra
/wxWidgets
-${WXVER}-VC.
zip
251 echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-VC.zip"
254 # If we have the full set of eVC++ project files,
256 if [ -f $WXDEST/extra
/wxWidgets
-${WXVER}-eVC.
zip ]; then
257 unzip -o $WXDEST/extra
/wxWidgets
-${WXVER}-eVC.
zip
259 echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-eVC.zip"
262 # If we have the full set of DMC project files,
264 if [ -f $WXDEST/extra
/wxWidgets
-${WXVER}-DMC.
zip ]; then
265 unzip -o $WXDEST/extra
/wxWidgets
-${WXVER}-DMC.
zip
267 echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-DMC.zip"
270 # If we have the full set of Mac CW project files,
272 if [ -f $WXDEST/extra
/wxWidgets
-${WXVER}-CW-Mac.
zip ]; then
273 unzip -o $WXDEST/extra
/wxWidgets
-${WXVER}-CW-Mac.
zip
275 echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-CW-Mac.zip"
278 $TAR xf ..
/wxWidgets
-${WXVER}.
tar
280 # Translate all .dsp and .dsw files to DOS format
281 unix2dos
--unix2dos `cat $WXSRC/distrib/msw/vc.rsp`
283 echo Copying readme files...
284 cp $WXSRC/docs
/readme.txt README.txt
285 cp $WXSRC/docs
/changes.txt CHANGES.txt
286 cp $WXSRC/docs
/licence.txt LICENCE.txt
287 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
288 cp $WXSRC/docs
/motif
/readme.txt README
-MOTIF.txt
289 cp $WXSRC/docs
/motif
/install.txt INSTALL
-MOTIF.txt
290 cp $WXSRC/docs
/x
11/readme.txt README
-X11.txt
291 cp $WXSRC/docs
/x
11/install.txt INSTALL
-X11.txt
292 cp $WXSRC/docs
/mac
/readme.txt README
-MAC.txt
293 cp $WXSRC/docs
/mac
/install.txt INSTALL
-MAC.txt
294 cp $WXSRC/docs
/mgl
/readme.txt README
-MGL.txt
295 cp $WXSRC/docs
/mgl
/install.txt INSTALL
-MGL.txt
296 cp $WXSRC/docs
/palmos
/readme.txt README
-PALMOS.txt
297 #cp $WXSRC/docs/os2/readme.txt README-OS2.txt
298 cp $WXSRC/docs
/os
2/install.txt INSTALL
-OS2.txt
301 rm -f wxWidgets
-${WXVER}.
tar
302 $TAR cf
$WXDEST/wxWidgets
-${WXVER}.
tar wxWidgets
-${WXVER}/*
303 rm -f -r wxWidgets
-${WXVER}
304 gzip -c $WXDEST/wxWidgets
-${WXVER}.
tar > $WXDEST/wxWidgets
-${WXVER}.
tar.gz
305 bzip2 $WXDEST/wxWidgets
-${WXVER}.
tar
310 mkdir -p $WXSRC/docs
/html
/wx
311 mkdir -p $WXSRC/docs
/html
/tex2rtf
312 mkdir -p $WXSRC/docs
/html
/fl
313 mkdir -p $WXSRC/docs
/html
/ogl
314 mkdir -p $WXSRC/docs
/htb
316 rm -f -r $WXSRC/docs
/html
/wx
/*.htm
*
317 rm -f -r $WXSRC/docs
/htb
/wx.htb
319 echo Making HTML wxWidgets manual...
320 cd $WXSRC/docs
/latex
/wx
321 cp *.gif
$WXSRC/docs
/html
/wx
322 tex2rtf manual.tex
$WXSRC/docs
/html
/wx
/wx.htm
-twice -html
324 echo Making HTB wxWidgets manual...
325 cd $WXSRC/docs
/html
/wx
326 zip -q $WXSRC/docs
/htb
/wx.htb
*.html
*.gif
*.hhp
*.hhc
*.hhk
328 echo Done making manuals.
333 # First make the docs
336 echo Tarring wxDocs...
340 #cat $WXSRC/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt
341 #expandlines /tmp/docsrc_in.txt /tmp/docsrc.txt
342 #$TAR cf $WXDEST/wxWidgets-${WXVER}-doc.tar -T /tmp/docsrc.txt
344 #echo Re-tarring docs in a subdirectory...
346 #mkdir wxWidgets-${WXVER}
347 #cd wxWidgets-${WXVER}
348 #$TAR xf ../wxWidgets-${WXVER}-doc.tar
350 #rm -f wxWidgets-${WXVER}-doc.tar
351 #$TAR cf $WXDEST/wxWidgets-${WXVER}-doc.tar wxWidgets-${WXVER}/*
352 #rm -f -r wxWidgets-${WXVER}
353 #gzip $WXDEST/wxWidgets-${WXVER}-doc.tar
357 cat $WXSRC/distrib
/msw
/wx_html.rsp
> /tmp
/html_in.txt
358 expandlines
/tmp
/html_in.txt
/tmp
/html.txt
359 $TAR cf
$WXDEST/wxWidgets
-${WXVER}-HTML.
tar -T /tmp
/html.txt
361 echo Re
-tarring HTML
in a subdirectory...
363 mkdir wxWidgets
-${WXVER}
364 cd wxWidgets
-${WXVER}
365 $TAR xf ..
/wxWidgets
-${WXVER}-HTML.
tar
367 rm -f wxWidgets
-${WXVER}-HTML.
tar
368 $TAR cf
$WXDEST/wxWidgets
-${WXVER}-HTML.
tar wxWidgets
-${WXVER}/*
369 rm -f -r wxWidgets
-${WXVER}
370 gzip $WXDEST/wxWidgets
-${WXVER}-HTML.
tar
374 cat $WXSRC/distrib
/msw
/wx_htb.rsp
> /tmp
/htb_in.txt
375 expandlines
/tmp
/htb_in.txt
/tmp
/htb.txt
376 $TAR cf
$WXDEST/wxWidgets
-${WXVER}-HTB.
tar -T /tmp
/htb.txt
378 echo Re
-tarring HTB
in a subdirectory...
380 mkdir wxWidgets
-${WXVER}
381 cd wxWidgets
-${WXVER}
382 $TAR xf ..
/wxWidgets
-${WXVER}-HTB.
tar
384 rm -f wxWidgets
-${WXVER}-HTB.
tar
385 $TAR cf
$WXDEST/wxWidgets
-${WXVER}-HTB.
tar wxWidgets
-${WXVER}/*
386 rm -f -r wxWidgets
-${WXVER}
387 gzip $WXDEST/wxWidgets
-${WXVER}-HTB.
tar
391 cat $WXSRC/distrib
/msw
/wx_pdf.rsp
> /tmp
/pdf_in.txt
392 expandlines
/tmp
/pdf_in.txt
/tmp
/pdf.txt
393 $TAR cf
$WXDEST/wxWidgets
-${WXVER}-PDF.
tar -T /tmp
/pdf.txt
395 echo Re
-tarring PDF
in a subdirectory...
397 mkdir wxWidgets
-${WXVER}
398 cd wxWidgets
-${WXVER}
399 $TAR xf ..
/wxWidgets
-${WXVER}-PDF.
tar
401 rm -f wxWidgets
-${WXVER}-PDF.
tar
402 $TAR cf
$WXDEST/wxWidgets
-${WXVER}-PDF.
tar wxWidgets
-${WXVER}/*
403 rm -f -r wxWidgets
-${WXVER}
404 gzip $WXDEST/wxWidgets
-${WXVER}-PDF.
tar
409 #cat $WXSRC/distrib/msw/tex2rtf.rsp > /tmp/tex2rtf_in.txt
410 #expandlines /tmp/tex2rtf_in.txt /tmp/tex2rtf.txt
411 #$TAR cf $WXDEST/wxWidgets-${WXVER}-tex2rtf.tar -T /tmp/tex2rtf.txt
413 #echo Re-tarring Tex2RTF in a subdirectory...
415 #mkdir wxWidgets-${WXVER}
416 #cd wxWidgets-${WXVER}
417 #$TAR xf ../wxWidgets-${WXVER}-tex2rtf.tar
419 #rm -f wxWidgets-${WXVER}-tex2rtf.tar
420 #$TAR cf $WXDEST/wxWidgets-${WXVER}-tex2rtf.tar wxWidgets-${WXVER}/*
421 #rm -f -r wxWidgets-${WXVER}
422 #gzip $WXDEST/wxWidgets-${WXVER}-tex2rtf.tar
426 #cat $WXSRC/distrib/msw/ogl.rsp > /tmp/ogl_in.txt
427 #expandlines /tmp/ogl_in.txt /tmp/ogl.txt
428 #$TAR cf $WXDEST/wxWidgets-${WXVER}-ogl.tar -T /tmp/ogl.txt
430 #echo Re-tarring OGL in a subdirectory...
432 #mkdir wxWidgets-${WXVER}
433 #cd wxWidgets-${WXVER}
434 #$TAR xf ../wxWidgets-${WXVER}-ogl.tar
436 #rm -f wxWidgets-${WXVER}-ogl.tar
437 #$TAR cf $WXDEST/wxWidgets-${WXVER}-ogl.tar wxWidgets-${WXVER}/*
438 #rm -f -r wxWidgets-${WXVER}
439 #gzip $WXDEST/wxWidgets-${WXVER}-ogl.tar
443 #cat $WXSRC/distrib/msw/jpeg.rsp > /tmp/jpeg_in.txt
444 #expandlines /tmp/jpeg_in.txt /tmp/jpeg.txt
445 #$TAR cf $WXDEST/wxWidgets-${WXVER}-jpeg.tar -T /tmp/jpeg.txt
447 #echo Re-tarring jpeg in a subdirectory...
449 #mkdir wxWidgets-${WXVER}
450 #cd wxWidgets-${WXVER}
451 #$TAR xf ../wxWidgets-${WXVER}-jpeg.tar
453 #rm -f wxWidgets-${WXVER}-jpeg.tar
454 #$TAR cf $WXDEST/wxWidgets-${WXVER}-jpeg.tar wxWidgets-${WXVER}/*
455 #rm -f -r wxWidgets-${WXVER}
456 #gzip $WXDEST/wxWidgets-${WXVER}-jpeg.tar
460 #cat $WXSRC/distrib/msw/tiff.rsp > /tmp/tiff_in.txt
461 #expandlines /tmp/tiff_in.txt /tmp/tiff.txt
462 #$TAR cf $WXDEST/wxWidgets-${WXVER}-tiff.tar -T /tmp/tiff.txt
464 #echo Re-tarring docs in a subdirectory...
466 #mkdir wxWidgets-${WXVER}
467 #cd wxWidgets-${WXVER}
468 #$TAR xf ../wxWidgets-${WXVER}-tiff.tar
470 #rm -f wxWidgets-${WXVER}-tiff.tar
471 #$TAR cf $WXDEST/wxWidgets-${WXVER}-tiff.tar wxWidgets-${WXVER}/*
472 #rm -f -r wxWidgets-${WXVER}
473 #gzip $WXDEST/wxWidgets-${WXVER}-tiff.tar
478 echo Usage
: tardist wx
-dir output
-dir version
484 echo Usage
: tardist wx
-dir output
-dir version
490 echo Usage
: tardist wx
-dir output
-dir version
509 echo Usage
: $PROGNAME "src-dir dest-dir version-number [ options ]"
511 echo " --help Display this help message"
512 echo " --wxall Spin wxAll"
513 echo " --wxgtk Spin wxGTK"
514 echo " --wxmotif Spin wxMotif"
515 echo " --wxmac Spin wxMac"
516 echo " --wxx11 Spin wxX11"
517 echo " --wxdocs Spin docs"
518 echo " --all Spin EVERYTHING"
523 # Process command line options.
527 --wxall) SPINWXALL
=1 ;;
528 --wxx11) SPINWXX11
=1 ;;
529 --wxgtk) SPINWXGTK
=1 ;;
530 --wxmotif) SPINWXMOTIF
=1 ;;
531 --wxmac) SPINWXMAC
=1 ;;
532 --wxdocs) SPINWXDOCS
=1 ;;
533 --all) SPINEVERYTHING
=1 ;;
541 echo About to archive wxWidgets
:
545 echo CTRL
-C if this is not correct.
550 if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
554 if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
558 if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
562 if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
566 if [ "$SPINWXDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
570 if [ "$SPINWXALL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then