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
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
/os
2/SETUP0.H
$WXSRC/include
/wx
/os
2/setup.h
41 cp $WXSRC/include
/wx
/msw
/setup0.h
$WXSRC/include
/wx
/msw
/setup.h
42 cp $WXSRC/include
/wx
/univ
/setup0.h
$WXSRC/include
/wx
/univ
/setup.h
44 # Copy readme and other files
46 cp $WXSRC/docs
/readme.txt
$WXDEST/readme
-${WXVER}.txt
47 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
50 cp $WXSRC/docs
/x
11/readme.txt
$WXDEST/readme
-x11-${WXVER}.txt
51 cp $WXSRC/docs
/x
11/readme
-nanox.txt
$WXDEST/readme
-nanox-${WXVER}.txt
52 cp $WXSRC/docs
/x
11/install.txt
$WXDEST/install-x11-${WXVER}.txt
53 cp $WXSRC/docs
/motif
/readme.txt
$WXDEST/readme
-motif-${WXVER}.txt
54 cp $WXSRC/docs
/motif
/install.txt
$WXDEST/install-motif-${WXVER}.txt
55 cp $WXSRC/docs
/msw
/readme.txt
$WXDEST/readme
-msw-${WXVER}.txt
56 cp $WXSRC/docs
/msw
/install.txt
$WXDEST/install-msw-${WXVER}.txt
57 cp $WXSRC/docs
/gtk
/readme.txt
$WXDEST/readme
-gtk-${WXVER}.txt
58 cp $WXSRC/docs
/gtk
/install.txt
$WXDEST/install-gtk-${WXVER}.txt
59 cp $WXSRC/docs
/mac
/readme.txt
$WXDEST/readme
-mac-${WXVER}.txt
60 cp $WXSRC/docs
/mac
/install.txt
$WXDEST/install-mac-${WXVER}.txt
61 cp $WXSRC/docs
/os
2/install.txt
$WXDEST/install-os2-${WXVER}.txt
73 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
74 expandlines
/tmp
/wxgtk_in.txt
/tmp
/wxgtk.txt
75 $TAR cf
$WXDEST/wxGTK
-${WXVER}.
tar -T /tmp
/wxgtk.txt
77 echo Re
-tarring wxGTK
in a subdirectory...
81 $TAR xf ..
/wxGTK
-${WXVER}.
tar
82 echo Copying readme files...
83 cp $WXSRC/docs
/gtk
/readme.txt README
-GTK.txt
84 cp $WXSRC/docs
/gtk
/install.txt INSTALL
-GTK.txt
85 cp $WXSRC/docs
/readme.txt README.txt
86 cp $WXSRC/docs
/changes.txt CHANGES.txt
87 cp $WXSRC/docs
/licence.txt LICENCE.txt
88 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
90 rm -f wxGTK
-${WXVER}.
tar
91 $TAR cf
$WXDEST/wxGTK
-${WXVER}.
tar wxGTK
-${WXVER}/*
92 rm -f -r wxGTK
-${WXVER}
93 gzip $WXDEST/wxGTK
-${WXVER}.
tar
98 echo Tarring wxMotif...
101 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
102 expandlines
/tmp
/wxmotif_in.txt
/tmp
/wxmotif.txt
103 $TAR cf
$WXDEST/wxMotif
-${WXVER}.
tar -T /tmp
/wxmotif.txt
105 echo Re
-tarring wxMotif
in a subdirectory...
107 mkdir wxMotif
-${WXVER}
109 $TAR xf ..
/wxMotif
-${WXVER}.
tar
110 echo Copying readme files...
111 cp $WXSRC/docs
/motif
/readme.txt README
-MOTIF.txt
112 cp $WXSRC/docs
/motif
/install.txt INSTALL
-MOTIF.txt
113 cp $WXSRC/docs
/readme.txt README.txt
114 cp $WXSRC/docs
/changes.txt CHANGES.txt
115 cp $WXSRC/docs
/licence.txt LICENCE.txt
116 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
118 rm -f wxMotif
-${WXVER}.
tar
119 $TAR cf
$WXDEST/wxMotif
-${WXVER}.
tar wxMotif
-${WXVER}/*
120 rm -f -r wxMotif
-${WXVER}
121 gzip $WXDEST/wxMotif
-${WXVER}.
tar
126 echo Tarring wxX11...
128 ### wxX11: combined wxMotif and wxX11 distributions
130 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
131 expandlines
/tmp
/wxx11_in.txt
/tmp
/wxx11.txt
132 $TAR cf
$WXDEST/wxX11
-${WXVER}.
tar -T /tmp
/wxx11.txt
134 echo Re
-tarring wxX11
in a subdirectory...
138 $TAR xf ..
/wxX11
-${WXVER}.
tar
139 echo Copying readme files...
140 cp $WXSRC/docs
/motif
/readme.txt README
-MOTIF.txt
141 cp $WXSRC/docs
/motif
/install.txt INSTALL
-MOTIF.txt
142 cp $WXSRC/docs
/x
11/readme.txt README
-X11.txt
143 cp $WXSRC/docs
/x
11/install.txt INSTALL
-X11.txt
144 cp $WXSRC/docs
/readme.txt README.txt
145 cp $WXSRC/docs
/changes.txt CHANGES.txt
146 cp $WXSRC/docs
/licence.txt LICENCE.txt
147 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
149 rm -f wxX11
-${WXVER}.
tar
150 $TAR cf
$WXDEST/wxX11
-${WXVER}.
tar wxX11
-${WXVER}/*
151 rm -f -r wxX11
-${WXVER}
152 gzip $WXDEST/wxX11
-${WXVER}.
tar
157 # 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
158 # expandlines /tmp/wxmsw_in.txt /tmp/wxmsw.txt
159 # $TAR cf $WXDEST/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt
160 # gzip $WXDEST/wxMSW-${WXVER}.tar
164 echo Tarring wxMac...
166 cp $WXSRC/include
/wx
/mac
/setup0.h
$WXSRC/include
/wx
/setup.h
168 cat $WXSRC/distrib
/msw
/mac.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
169 expandlines
/tmp
/wxmac_in.txt
/tmp
/wxmac.txt
170 $TAR cf
$WXDEST/wxMac
-${WXVER}.
tar -T /tmp
/wxmac.txt
172 rm -f $WXSRC/include
/wx
/setup.h
174 echo Re
-tarring wxMac
in a subdirectory...
179 # If we have the full set of Mac CW project files,
181 if [ -f $WXDEST/extra
/wxWindows
-${WXVER}-CW-Mac.
zip ]; then
182 unzip -o $WXDEST/extra
/wxWindows
-${WXVER}-CW-Mac.
zip
184 echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-CW-Mac.zip"
187 $TAR xf ..
/wxMac
-${WXVER}.
tar
188 rm -f -r contrib
/src
/mmedia contrib
/samples
/mmedia
189 echo Copying readme files...
190 cp $WXSRC/docs
/mac
/readme.txt README
-MAC.txt
191 cp $WXSRC/docs
/mac
/install.txt INSTALL
-MAC.txt
192 cp $WXSRC/docs
/readme.txt README.txt
193 cp $WXSRC/docs
/changes.txt CHANGES.txt
194 cp $WXSRC/docs
/licence.txt LICENCE.txt
195 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
197 rm -f wxMac
-${WXVER}.
tar
198 $TAR cf
$WXDEST/wxMac
-${WXVER}.
tar wxMac
-${WXVER}/*
199 rm -f -r wxMac
-${WXVER}
200 gzip $WXDEST/wxMac
-${WXVER}.
tar
203 ### wxUniv: universal-specific files
205 #cat $WXSRC/distrib/msw/univ.rsp > /tmp/wxuniv_in.txt
206 #expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt
207 #$TAR cf $WXDEST/wxWindows-${WXVER}-Univ.tar -T /tmp/wxuniv.txt
209 #echo Re-tarring wxUniversal in a subdirectory...
211 #mkdir wxWindows-${WXVER}
212 #cd wxWindows-${WXVER}
213 #$TAR xf ../wxWindows-${WXVER}-Univ.tar
215 #rm -f wxWindows-${WXVER}-Univ.tar
216 #$TAR cf $WXDEST/wxWindows-${WXVER}-Univ.tar wxWindows-${WXVER}/*
217 #rm -f -r wxWindows-${WXVER}
218 #gzip $WXDEST/wxWindows-${WXVER}-Univ.tar
222 echo Tarring wxAll...
224 ### wxAll: all distributions in one giant archive
226 cat $WXSRC/distrib
/msw
/generic.rsp
$WXSRC/distrib
/msw
/msw.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
/os2.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
227 expandlines
/tmp
/wxall_in.txt
/tmp
/wxall.txt
228 $TAR cf
$WXDEST/wxAll
-${WXVER}.
tar -T /tmp
/wxall.txt
230 echo Re
-tarring wxAll
in a subdirectory...
232 mkdir wxWindows
-${WXVER}
234 cd wxWindows
-${WXVER}
236 # If we have the full set of VC++ project files,
238 if [ -f $WXDEST/extra
/wxWindows
-${WXVER}-VC.
zip ]; then
239 unzip -o $WXDEST/extra
/wxWindows
-${WXVER}-VC.
zip
241 echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-VC.zip"
244 # If we have the full set of Mac CW project files,
246 if [ -f $WXDEST/extra
/wxWindows
-${WXVER}-CW-Mac.
zip ]; then
247 unzip -o $WXDEST/extra
/wxWindows
-${WXVER}-CW-Mac.
zip
249 echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-CW-Mac.zip"
252 $TAR xf ..
/wxAll
-${WXVER}.
tar
254 # Translate all .dsp and .dsw files to DOS format
255 unix2dos
--unix2dos `cat $WXSRC/distrib/msw/vc.rsp`
257 echo Copying readme files...
258 cp $WXSRC/docs
/readme.txt README.txt
259 cp $WXSRC/docs
/changes.txt CHANGES.txt
260 cp $WXSRC/docs
/licence.txt LICENCE.txt
261 cp $WXSRC/docs
/lgpl.txt COPYING.LIB
262 cp $WXSRC/docs
/motif
/readme.txt README
-MOTIF.txt
263 cp $WXSRC/docs
/motif
/install.txt INSTALL
-MOTIF.txt
264 cp $WXSRC/docs
/x
11/readme.txt README
-X11.txt
265 cp $WXSRC/docs
/x
11/install.txt INSTALL
-X11.txt
266 cp $WXSRC/docs
/mac
/readme.txt README
-MAC.txt
267 cp $WXSRC/docs
/mac
/install.txt INSTALL
-MAC.txt
268 cp $WXSRC/docs
/mgl
/readme.txt README
-MGL.txt
269 cp $WXSRC/docs
/mgl
/install.txt INSTALL
-MGL.txt
270 #cp $WXSRC/docs/os2/readme.txt README-OS2.txt
271 cp $WXSRC/docs
/os
2/install.txt INSTALL
-OS2.txt
274 rm -f wxAll
-${WXVER}.
tar
275 $TAR cf
$WXDEST/wxAll
-${WXVER}.
tar wxWindows
-${WXVER}/*
276 rm -f -r wxWindows
-${WXVER}
277 gzip $WXDEST/wxAll
-${WXVER}.
tar
282 echo Tarring wxDocs...
286 #cat $WXSRC/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt
287 #expandlines /tmp/docsrc_in.txt /tmp/docsrc.txt
288 #$TAR cf $WXDEST/wxWindows-${WXVER}-doc.tar -T /tmp/docsrc.txt
290 #echo Re-tarring docs in a subdirectory...
292 #mkdir wxWindows-${WXVER}
293 #cd wxWindows-${WXVER}
294 #$TAR xf ../wxWindows-${WXVER}-doc.tar
296 #rm -f wxWindows-${WXVER}-doc.tar
297 #$TAR cf $WXDEST/wxWindows-${WXVER}-doc.tar wxWindows-${WXVER}/*
298 #rm -f -r wxWindows-${WXVER}
299 #gzip $WXDEST/wxWindows-${WXVER}-doc.tar
303 cat $WXSRC/distrib
/msw
/wx_html.rsp
> /tmp
/html_in.txt
304 expandlines
/tmp
/html_in.txt
/tmp
/html.txt
305 $TAR cf
$WXDEST/wxWindows
-${WXVER}-HTML.
tar -T /tmp
/html.txt
307 echo Re
-tarring HTML
in a subdirectory...
309 mkdir wxWindows
-${WXVER}
310 cd wxWindows
-${WXVER}
311 $TAR xf ..
/wxWindows
-${WXVER}-HTML.
tar
313 rm -f wxWindows
-${WXVER}-HTML.
tar
314 $TAR cf
$WXDEST/wxWindows
-${WXVER}-HTML.
tar wxWindows
-${WXVER}/*
315 rm -f -r wxWindows
-${WXVER}
316 gzip $WXDEST/wxWindows
-${WXVER}-HTML.
tar
320 cat $WXSRC/distrib
/msw
/wx_htb.rsp
> /tmp
/htb_in.txt
321 expandlines
/tmp
/htb_in.txt
/tmp
/htb.txt
322 $TAR cf
$WXDEST/wxWindows
-${WXVER}-HTB.
tar -T /tmp
/htb.txt
324 echo Re
-tarring HTB
in a subdirectory...
326 mkdir wxWindows
-${WXVER}
327 cd wxWindows
-${WXVER}
328 $TAR xf ..
/wxWindows
-${WXVER}-HTB.
tar
330 rm -f wxWindows
-${WXVER}-HTB.
tar
331 $TAR cf
$WXDEST/wxWindows
-${WXVER}-HTB.
tar wxWindows
-${WXVER}/*
332 rm -f -r wxWindows
-${WXVER}
333 gzip $WXDEST/wxWindows
-${WXVER}-HTB.
tar
337 cat $WXSRC/distrib
/msw
/wx_pdf.rsp
> /tmp
/pdf_in.txt
338 expandlines
/tmp
/pdf_in.txt
/tmp
/pdf.txt
339 $TAR cf
$WXDEST/wxWindows
-${WXVER}-PDF.
tar -T /tmp
/pdf.txt
341 echo Re
-tarring PDF
in a subdirectory...
343 mkdir wxWindows
-${WXVER}
344 cd wxWindows
-${WXVER}
345 $TAR xf ..
/wxWindows
-${WXVER}-PDF.
tar
347 rm -f wxWindows
-${WXVER}-PDF.
tar
348 $TAR cf
$WXDEST/wxWindows
-${WXVER}-PDF.
tar wxWindows
-${WXVER}/*
349 rm -f -r wxWindows
-${WXVER}
350 gzip $WXDEST/wxWindows
-${WXVER}-PDF.
tar
355 #cat $WXSRC/distrib/msw/tex2rtf.rsp > /tmp/tex2rtf_in.txt
356 #expandlines /tmp/tex2rtf_in.txt /tmp/tex2rtf.txt
357 #$TAR cf $WXDEST/wxWindows-${WXVER}-tex2rtf.tar -T /tmp/tex2rtf.txt
359 #echo Re-tarring Tex2RTF in a subdirectory...
361 #mkdir wxWindows-${WXVER}
362 #cd wxWindows-${WXVER}
363 #$TAR xf ../wxWindows-${WXVER}-tex2rtf.tar
365 #rm -f wxWindows-${WXVER}-tex2rtf.tar
366 #$TAR cf $WXDEST/wxWindows-${WXVER}-tex2rtf.tar wxWindows-${WXVER}/*
367 #rm -f -r wxWindows-${WXVER}
368 #gzip $WXDEST/wxWindows-${WXVER}-tex2rtf.tar
372 #cat $WXSRC/distrib/msw/ogl.rsp > /tmp/ogl_in.txt
373 #expandlines /tmp/ogl_in.txt /tmp/ogl.txt
374 #$TAR cf $WXDEST/wxWindows-${WXVER}-ogl.tar -T /tmp/ogl.txt
376 #echo Re-tarring OGL in a subdirectory...
378 #mkdir wxWindows-${WXVER}
379 #cd wxWindows-${WXVER}
380 #$TAR xf ../wxWindows-${WXVER}-ogl.tar
382 #rm -f wxWindows-${WXVER}-ogl.tar
383 #$TAR cf $WXDEST/wxWindows-${WXVER}-ogl.tar wxWindows-${WXVER}/*
384 #rm -f -r wxWindows-${WXVER}
385 #gzip $WXDEST/wxWindows-${WXVER}-ogl.tar
389 #cat $WXSRC/distrib/msw/jpeg.rsp > /tmp/jpeg_in.txt
390 #expandlines /tmp/jpeg_in.txt /tmp/jpeg.txt
391 #$TAR cf $WXDEST/wxWindows-${WXVER}-jpeg.tar -T /tmp/jpeg.txt
393 #echo Re-tarring jpeg in a subdirectory...
395 #mkdir wxWindows-${WXVER}
396 #cd wxWindows-${WXVER}
397 #$TAR xf ../wxWindows-${WXVER}-jpeg.tar
399 #rm -f wxWindows-${WXVER}-jpeg.tar
400 #$TAR cf $WXDEST/wxWindows-${WXVER}-jpeg.tar wxWindows-${WXVER}/*
401 #rm -f -r wxWindows-${WXVER}
402 #gzip $WXDEST/wxWindows-${WXVER}-jpeg.tar
406 #cat $WXSRC/distrib/msw/tiff.rsp > /tmp/tiff_in.txt
407 #expandlines /tmp/tiff_in.txt /tmp/tiff.txt
408 #$TAR cf $WXDEST/wxWindows-${WXVER}-tiff.tar -T /tmp/tiff.txt
410 #echo Re-tarring docs in a subdirectory...
412 #mkdir wxWindows-${WXVER}
413 #cd wxWindows-${WXVER}
414 #$TAR xf ../wxWindows-${WXVER}-tiff.tar
416 #rm -f wxWindows-${WXVER}-tiff.tar
417 #$TAR cf $WXDEST/wxWindows-${WXVER}-tiff.tar wxWindows-${WXVER}/*
418 #rm -f -r wxWindows-${WXVER}
419 #gzip $WXDEST/wxWindows-${WXVER}-tiff.tar
424 echo Usage
: tardist wx
-dir output
-dir version
430 echo Usage
: tardist wx
-dir output
-dir version
436 echo Usage
: tardist wx
-dir output
-dir version
455 echo Usage
: $PROGNAME "src-dir dest-dir version-number [ options ]"
457 echo " --help Display this help message"
458 echo " --wxall Spin wxAll"
459 echo " --wxgtk Spin wxGTK"
460 echo " --wxmotif Spin wxMotif"
461 echo " --wxmac Spin wxMac"
462 echo " --wxx11 Spin wxX11"
463 echo " --wxdocs Spin docs"
464 echo " --all Spin EVERYTHING"
469 # Process command line options.
473 --wxall) SPINWXALL
=1 ;;
474 --wxx11) SPINWXX11
=1 ;;
475 --wxgtk) SPINWXGTK
=1 ;;
476 --wxmotif) SPINWXMOTIF
=1 ;;
477 --wxmac) SPINWXMAC
=1 ;;
478 --wxdocs) SPINWXDOCS
=1 ;;
479 --all) SPINEVERYTHING
=1 ;;
487 echo About to archive wxWindows
:
491 echo CTRL
-C if this is not correct.
496 if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
500 if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
504 if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
508 if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
512 if [ "$SPINWXDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
516 if [ "$SPINWXALL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then