]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/tardist
Compilation fixes for wxUSE_STL=1.
[wxWidgets.git] / distrib / msw / tardist
... / ...
CommitLineData
1#!/bin/sh
2# tardist: make up a tar.gz distribution of wxWindows 2
3# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
4
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
8# blank lines.
9
10TAR=tar
11ARCH=`arch`
12if [ "$ARCH" = "ppc" ]; then
13 TAR=gnutar
14fi
15
16expandlines()
17{
18 toexpand=$1
19 outputfile=$2
20
21 rm -f $outputfile
22 touch $outputfile
23 for line in `cat $toexpand` ; do
24 if [ "$line" != "" ]; then
25 ls $line >> $outputfile
26 fi
27 uniq < $outputfile > /tmp/uniqtemp.txt
28 mv /tmp/uniqtemp.txt $outputfile
29 done
30}
31
32doinit()
33{
34 cd $WXSRC
35 echo Removing backup files...
36 rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
37
38 rm -f $WXDEST/wx*-${WXVER}*.tar.gz
39 # Copy setup files
40 cp $WXSRC/include/wx/os2/SETUP0.H $WXSRC/include/wx/os2/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
43
44 # Copy readme and other files
45
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/x11/readme.txt $WXDEST/readme-x11-${WXVER}.txt
51 cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt
52 cp $WXSRC/docs/x11/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/os2/install.txt $WXDEST/install-os2-${WXVER}.txt
62
63 # Make .mo files
64 cd $WXSRC/locale
65 make allmo
66}
67
68dospinwxgtk()
69{
70echo Tarring wxGTK...
71
72cd $WXSRC
73cat $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/dialoged.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
74expandlines /tmp/wxgtk_in.txt /tmp/wxgtk.txt
75$TAR cf $WXDEST/wxGTK-${WXVER}.tar -T /tmp/wxgtk.txt
76
77echo Re-tarring wxGTK in a subdirectory...
78cd $WXDEST
79mkdir wxGTK-${WXVER}
80cd wxGTK-${WXVER}
81$TAR xf ../wxGTK-${WXVER}.tar
82cd ..
83rm -f wxGTK-${WXVER}.tar
84$TAR cf $WXDEST/wxGTK-${WXVER}.tar wxGTK-${WXVER}/*
85rm -f -r wxGTK-${WXVER}
86gzip $WXDEST/wxGTK-${WXVER}.tar
87}
88
89dospinwxmotif()
90{
91echo Tarring wxMotif...
92
93cd $WXSRC
94cat $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
95expandlines /tmp/wxmotif_in.txt /tmp/wxmotif.txt
96$TAR cf $WXDEST/wxMotif-${WXVER}.tar -T /tmp/wxmotif.txt
97
98echo Re-tarring wxMotif in a subdirectory...
99cd $WXDEST
100mkdir wxMotif-${WXVER}
101cd wxMotif-${WXVER}
102$TAR xf ../wxMotif-${WXVER}.tar
103cd ..
104rm -f wxMotif-${WXVER}.tar
105$TAR cf $WXDEST/wxMotif-${WXVER}.tar wxMotif-${WXVER}/*
106rm -f -r wxMotif-${WXVER}
107gzip $WXDEST/wxMotif-${WXVER}.tar
108}
109
110dospinwxx11()
111{
112echo Tarring wxX11...
113
114### wxX11: combined wxMotif and wxX11 distributions
115cd $WXSRC
116cat $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/dialoged.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
117expandlines /tmp/wxx11_in.txt /tmp/wxx11.txt
118$TAR cf $WXDEST/wxX11-${WXVER}.tar -T /tmp/wxx11.txt
119
120echo Re-tarring wxX11 in a subdirectory...
121cd $WXDEST
122mkdir wxX11-${WXVER}
123cd wxX11-${WXVER}
124$TAR xf ../wxX11-${WXVER}.tar
125cd ..
126rm -f wxX11-${WXVER}.tar
127$TAR cf $WXDEST/wxX11-${WXVER}.tar wxX11-${WXVER}/*
128rm -f -r wxX11-${WXVER}
129gzip $WXDEST/wxX11-${WXVER}.tar
130}
131
132### wxMSW
133# cd $WXSRC
134# 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
135# expandlines /tmp/wxmsw_in.txt /tmp/wxmsw.txt
136# $TAR cf $WXDEST/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt
137# gzip $WXDEST/wxMSW-${WXVER}.tar
138
139dospinwxmac()
140{
141echo Tarring wxMac...
142### wxMac
143cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/setup.h
144cd $WXSRC
145cat $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/dialoged.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
146expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt
147$TAR cf $WXDEST/wxMac-${WXVER}.tar -T /tmp/wxmac.txt
148
149rm -f $WXSRC/include/wx/setup.h
150
151echo Re-tarring wxMac in a subdirectory...
152cd $WXDEST
153mkdir wxMac-${WXVER}
154cd wxMac-${WXVER}
155
156# If we have the full set of Mac CW project files,
157# get them
158if [ -f $WXDEST/extra/wxWindows-${WXVER}-CW-Mac.zip ]; then
159 unzip -o $WXDEST/extra/wxWindows-${WXVER}-CW-Mac.zip
160else
161 echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-CW-Mac.zip"
162fi
163
164$TAR xf ../wxMac-${WXVER}.tar
165rm -f -r contrib/src/mmedia contrib/samples/mmedia
166cd ..
167rm -f wxMac-${WXVER}.tar
168$TAR cf $WXDEST/wxMac-${WXVER}.tar wxMac-${WXVER}/*
169rm -f -r wxMac-${WXVER}
170gzip $WXDEST/wxMac-${WXVER}.tar
171}
172
173### wxUniv: universal-specific files
174#cd $WXSRC
175#cat $WXSRC/distrib/msw/univ.rsp > /tmp/wxuniv_in.txt
176#expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt
177#$TAR cf $WXDEST/wxWindows-${WXVER}-Univ.tar -T /tmp/wxuniv.txt
178#
179#echo Re-tarring wxUniversal in a subdirectory...
180#cd $WXDEST
181#mkdir wxWindows-${WXVER}
182#cd wxWindows-${WXVER}
183#$TAR xf ../wxWindows-${WXVER}-Univ.tar
184#cd ..
185#rm -f wxWindows-${WXVER}-Univ.tar
186#$TAR cf $WXDEST/wxWindows-${WXVER}-Univ.tar wxWindows-${WXVER}/*
187#rm -f -r wxWindows-${WXVER}
188#gzip $WXDEST/wxWindows-${WXVER}-Univ.tar
189
190dospinwxall()
191{
192echo Tarring wxAll...
193
194### wxAll: all distributions in one giant archive
195cd $WXSRC
196cat $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/dialoged.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
197expandlines /tmp/wxall_in.txt /tmp/wxall.txt
198$TAR cf $WXDEST/wxAll-${WXVER}.tar -T /tmp/wxall.txt
199
200echo Re-tarring wxAll in a subdirectory...
201cd $WXDEST
202mkdir wxWindows-${WXVER}
203
204cd wxWindows-${WXVER}
205
206# If we have the full set of VC++ project files,
207# get them
208if [ -f $WXDEST/extra/wxWindows-${WXVER}-VC.zip ]; then
209 unzip -o $WXDEST/extra/wxWindows-${WXVER}-VC.zip
210else
211 echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-VC.zip"
212fi
213
214# If we have the full set of Mac CW project files,
215# get them
216if [ -f $WXDEST/extra/wxWindows-${WXVER}-CW-Mac.zip ]; then
217 unzip -o $WXDEST/extra/wxWindows-${WXVER}-CW-Mac.zip
218else
219 echo "Warning - did not find $WXDEST/deliver/extra/wxWindows-${WXVER}-CW-Mac.zip"
220fi
221
222$TAR xf ../wxAll-${WXVER}.tar
223
224# Translate all .dsp and .dsw files to DOS format
225unix2dos --unix2dos `cat $WXSRC/distrib/msw/vc.rsp`
226
227# Copy OS/2 specific configure files
228cp $WXSRC/distrib/os2/os2-specific.zip docs/os2
229
230# Copy the OS/2 files which probably haven't been copied yet
231mkdir include/wx/os2
232mkdir src/os2
233cp $WXSRC/include/wx/os2/*.H include/wx/os2
234cp $WXSRC/src/os2/*.CPP $WXSRC/src/os2/*.I src/os2
235
236# Make all OS/2 files lower case
237$WXSRC/distrib/msw/namedown include/wx/os2/*.H
238$WXSRC/distrib/msw/namedown src/os2/*.CPP src/os2/*.I
239
240cd ..
241rm -f wxAll-${WXVER}.tar
242$TAR cf $WXDEST/wxAll-${WXVER}.tar wxWindows-${WXVER}/*
243rm -f -r wxWindows-${WXVER}
244gzip $WXDEST/wxAll-${WXVER}.tar
245}
246
247dospinwxdocs()
248{
249echo Tarring wxDocs...
250
251### Doc sources
252#cd $WXSRC
253#cat $WXSRC/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt
254#expandlines /tmp/docsrc_in.txt /tmp/docsrc.txt
255#$TAR cf $WXDEST/wxWindows-${WXVER}-doc.tar -T /tmp/docsrc.txt
256#
257#echo Re-tarring docs in a subdirectory...
258#cd $WXDEST
259#mkdir wxWindows-${WXVER}
260#cd wxWindows-${WXVER}
261#$TAR xf ../wxWindows-${WXVER}-doc.tar
262#cd ..
263#rm -f wxWindows-${WXVER}-doc.tar
264#$TAR cf $WXDEST/wxWindows-${WXVER}-doc.tar wxWindows-${WXVER}/*
265#rm -f -r wxWindows-${WXVER}
266#gzip $WXDEST/wxWindows-${WXVER}-doc.tar
267
268### HTML docs
269cd $WXSRC
270cat $WXSRC/distrib/msw/wx_html.rsp > /tmp/html_in.txt
271expandlines /tmp/html_in.txt /tmp/html.txt
272$TAR cf $WXDEST/wxWindows-${WXVER}-HTML.tar -T /tmp/html.txt
273
274echo Re-tarring HTML in a subdirectory...
275cd $WXDEST
276mkdir wxWindows-${WXVER}
277cd wxWindows-${WXVER}
278$TAR xf ../wxWindows-${WXVER}-HTML.tar
279cd ..
280rm -f wxWindows-${WXVER}-HTML.tar
281$TAR cf $WXDEST/wxWindows-${WXVER}-HTML.tar wxWindows-${WXVER}/*
282rm -f -r wxWindows-${WXVER}
283gzip $WXDEST/wxWindows-${WXVER}-HTML.tar
284
285### HTB docs
286cd $WXSRC
287cat $WXSRC/distrib/msw/wx_htb.rsp > /tmp/htb_in.txt
288expandlines /tmp/htb_in.txt /tmp/htb.txt
289$TAR cf $WXDEST/wxWindows-${WXVER}-HTB.tar -T /tmp/htb.txt
290
291echo Re-tarring HTB in a subdirectory...
292cd $WXDEST
293mkdir wxWindows-${WXVER}
294cd wxWindows-${WXVER}
295$TAR xf ../wxWindows-${WXVER}-HTB.tar
296cd ..
297rm -f wxWindows-${WXVER}-HTB.tar
298$TAR cf $WXDEST/wxWindows-${WXVER}-HTB.tar wxWindows-${WXVER}/*
299rm -f -r wxWindows-${WXVER}
300gzip $WXDEST/wxWindows-${WXVER}-HTB.tar
301
302### PDF docs
303cd $WXSRC
304cat $WXSRC/distrib/msw/wx_pdf.rsp > /tmp/pdf_in.txt
305expandlines /tmp/pdf_in.txt /tmp/pdf.txt
306$TAR cf $WXDEST/wxWindows-${WXVER}-PDF.tar -T /tmp/pdf.txt
307
308echo Re-tarring PDF in a subdirectory...
309cd $WXDEST
310mkdir wxWindows-${WXVER}
311cd wxWindows-${WXVER}
312$TAR xf ../wxWindows-${WXVER}-PDF.tar
313cd ..
314rm -f wxWindows-${WXVER}-PDF.tar
315$TAR cf $WXDEST/wxWindows-${WXVER}-PDF.tar wxWindows-${WXVER}/*
316rm -f -r wxWindows-${WXVER}
317gzip $WXDEST/wxWindows-${WXVER}-PDF.tar
318}
319
320### Tex2RTF
321#cd $WXSRC
322#cat $WXSRC/distrib/msw/tex2rtf.rsp > /tmp/tex2rtf_in.txt
323#expandlines /tmp/tex2rtf_in.txt /tmp/tex2rtf.txt
324#$TAR cf $WXDEST/wxWindows-${WXVER}-tex2rtf.tar -T /tmp/tex2rtf.txt
325#
326#echo Re-tarring Tex2RTF in a subdirectory...
327#cd $WXDEST
328#mkdir wxWindows-${WXVER}
329#cd wxWindows-${WXVER}
330#$TAR xf ../wxWindows-${WXVER}-tex2rtf.tar
331#cd ..
332#rm -f wxWindows-${WXVER}-tex2rtf.tar
333#$TAR cf $WXDEST/wxWindows-${WXVER}-tex2rtf.tar wxWindows-${WXVER}/*
334#rm -f -r wxWindows-${WXVER}
335#gzip $WXDEST/wxWindows-${WXVER}-tex2rtf.tar
336
337### OGL
338#cd $WXSRC
339#cat $WXSRC/distrib/msw/ogl.rsp > /tmp/ogl_in.txt
340#expandlines /tmp/ogl_in.txt /tmp/ogl.txt
341#$TAR cf $WXDEST/wxWindows-${WXVER}-ogl.tar -T /tmp/ogl.txt
342#
343#echo Re-tarring OGL in a subdirectory...
344#cd $WXDEST
345#mkdir wxWindows-${WXVER}
346#cd wxWindows-${WXVER}
347#$TAR xf ../wxWindows-${WXVER}-ogl.tar
348#cd ..
349#rm -f wxWindows-${WXVER}-ogl.tar
350#$TAR cf $WXDEST/wxWindows-${WXVER}-ogl.tar wxWindows-${WXVER}/*
351#rm -f -r wxWindows-${WXVER}
352#gzip $WXDEST/wxWindows-${WXVER}-ogl.tar
353
354### JPEG
355#cd $WXSRC
356#cat $WXSRC/distrib/msw/jpeg.rsp > /tmp/jpeg_in.txt
357#expandlines /tmp/jpeg_in.txt /tmp/jpeg.txt
358#$TAR cf $WXDEST/wxWindows-${WXVER}-jpeg.tar -T /tmp/jpeg.txt
359#
360#echo Re-tarring jpeg in a subdirectory...
361#cd $WXDEST
362#mkdir wxWindows-${WXVER}
363#cd wxWindows-${WXVER}
364#$TAR xf ../wxWindows-${WXVER}-jpeg.tar
365#cd ..
366#rm -f wxWindows-${WXVER}-jpeg.tar
367#$TAR cf $WXDEST/wxWindows-${WXVER}-jpeg.tar wxWindows-${WXVER}/*
368#rm -f -r wxWindows-${WXVER}
369#gzip $WXDEST/wxWindows-${WXVER}-jpeg.tar
370
371### TIFF
372#cd $WXSRC
373#cat $WXSRC/distrib/msw/tiff.rsp > /tmp/tiff_in.txt
374#expandlines /tmp/tiff_in.txt /tmp/tiff.txt
375#$TAR cf $WXDEST/wxWindows-${WXVER}-tiff.tar -T /tmp/tiff.txt
376#
377#echo Re-tarring docs in a subdirectory...
378#cd $WXDEST
379#mkdir wxWindows-${WXVER}
380#cd wxWindows-${WXVER}
381#$TAR xf ../wxWindows-${WXVER}-tiff.tar
382#cd ..
383#rm -f wxWindows-${WXVER}-tiff.tar
384#$TAR cf $WXDEST/wxWindows-${WXVER}-tiff.tar wxWindows-${WXVER}/*
385#rm -f -r wxWindows-${WXVER}
386#gzip $WXDEST/wxWindows-${WXVER}-tiff.tar
387
388init=""
389if [ "$1" = "" ]
390then
391 echo Usage: tardist wx-dir output-dir version
392 exit
393fi
394
395if [ "$2" = "" ]
396then
397 echo Usage: tardist wx-dir output-dir version
398 exit
399fi
400
401if [ "$3" = "" ]
402then
403 echo Usage: tardist wx-dir output-dir version
404 exit
405fi
406
407PROGNAME=$0
408WXSRC=$1
409WXDEST=$2
410WXVER=$3
411
412SPINWXALL=0
413SPINWXX11=0
414SPINWXGTK=0
415SPINWXMOTIF=0
416SPINWXMAC=0
417SPINWXDOCS=0
418SPINEVERYTHING=0
419
420usage()
421{
422 echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]"
423 echo Options:
424 echo " --help Display this help message"
425 echo " --wxall Spin wxAll"
426 echo " --wxgtk Spin wxGTK"
427 echo " --wxmotif Spin wxMotif"
428 echo " --wxmac Spin wxMac"
429 echo " --wxx11 Spin wxX11"
430 echo " --wxdocs Spin docs"
431 echo " --all Spin EVERYTHING"
432
433 exit 1
434}
435
436# Process command line options.
437shift 3
438for i in "$@"; do
439 case "$i" in
440 --wxall) SPINWXALL=1 ;;
441 --wxx11) SPINWXX11=1 ;;
442 --wxgtk) SPINWXGTK=1 ;;
443 --wxmotif) SPINWXMOTIF=1 ;;
444 --wxmac) SPINWXMAC=1 ;;
445 --wxdocs) SPINWXDOCS=1 ;;
446 --all) SPINEVERYTHING=1 ;;
447 *)
448 usage
449 exit
450 ;;
451 esac
452done
453
454echo About to archive wxWindows:
455echo From $WXSRC
456echo To $WXDEST
457echo Version $WXVER
458echo CTRL-C if this is not correct.
459read dummy
460
461doinit
462
463if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
464 dospinwxx11
465fi
466
467if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
468 dospinwxgtk
469fi
470
471if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
472 dospinwxmac
473fi
474
475if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
476 dospinwxmotif
477fi
478
479if [ "$SPINWXDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
480 dospinwxdocs
481fi
482
483if [ "$SPINWXALL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
484 dospinwxall
485fi
486