3 # Make a distribution of an application on MSW.
5 # ../distrib/msw/makesetup.sh --wxmsw --verbose &> log
7 # If your zip accepts Cygwin-style paths, then
8 # use cygpath, else substitute echo
24 SCRIPTDIR
=$WXWIN/distrib
/scripts
25 .
$SCRIPTDIR/msw
/setup.var
26 .
$SCRIPTDIR/utils.inc
28 MANIFESTDIR
=$SCRIPTDIR/manifests
29 WEBFILES
=c
:/wx
2dev
/wxWebSite
30 if [ ! "$CYGPATH" = "" ]; then
31 WEBFILES
=`$CYGPATH "$WEBFILES"`
34 # Set this to the required version
35 if [ "$VERSION" = "" ]; then
44 utilsfiles
="tex2rtf.rsp utils.rsp utilmake.rsp"
45 commonfiles
="generic.rsp generic_samples.rsp jpeg.rsp tiff.rsp xml.rsp makefile.rsp $utilsfiles"
47 if [ ! $port = "base" ]; then
48 filelist
="$filelist $commonfiles"
51 if [ $port = "msw" ] || [ $port = "all" ]; then
52 filelist
="$filelist msw.rsp univ.rsp vc.rsp mmedia.rsp wince.rsp dmc.rsp"
55 if [ $port = "os2" ] || [ $port = "all" ]; then
56 filelist
="$filelist os2.rsp"
59 if [ $port = "x11" ] || [ $port = "all" ]; then
60 filelist
="$filelist x11.rsp"
63 if [ $port = "mgl" ] || [ $port = "all" ]; then
64 filelist
="$filelist mgl.rsp"
67 if [ $port = "gtk" ] || [ $port = "all" ]; then
68 filelist
="$filelist gtk.rsp"
71 if [ $port = "cocoa" ] || [ $port = "all" ]; then
72 filelist
="$filelist cocoa.rsp"
75 if [ $port = "motif" ] || [ $port = "all" ]; then
76 filelist
="$filelist motif.rsp"
79 if [ $port = "mac" ] || [ $port = "all" ]; then
80 filelist
="$filelist mac.rsp"
83 if [ $port = "all" ]; then
84 filelist
="$filelist palmos.rsp"
87 tempfile
="/tmp/wx$port.files.in"
94 cat $filelist > $tempfile
97 expandlines
$tempfile $outfile
107 if [ -f $thefile ]; then
108 sed -e "$theexpr" < $thefile > $thefile.tmp
109 mv $thefile.tmp
$thefile
111 echo "*** $thefile not found."
117 echo $1 | sed -e "s/\//\\\\\\\/g" > /tmp
/filename.tmp
118 RETVALUE
=`cat /tmp/filename.tmp`
119 rm -f /tmp
/filename.tmp
124 echo $1 | sed -e "s/\//\\\\/g" > /tmp
/filename.tmp
125 RETVALUE
=`cat /tmp/filename.tmp`
126 rm -f /tmp
/filename.tmp
131 if [ "$VERBOSE" != "1" ]; then
142 echo Re
-archiving $archive as
$dirname
146 if [ -d $dirname ]; then
151 unzip $ZIPFLAGS ..
/$archive
154 zip $ZIPFLAGS -r $archive $dirname/*
167 unzip $ZIPFLAGS $archive
169 tar cfz
$archive.
tar.gz
$dirname
171 tar -cvf $dirname | bzip2 -9 > $archive.
tar.bz2
185 echo Re
-tarring $archive as
$dirname
189 if [ -d $dirname ]; then
197 tar cfz
$archive $dirname/*
202 # Find the version from wx/version.h
206 echo "#include <stdio.h>" > /tmp
/appver.c
207 echo "#include \"$VERSIONSYMBOLFILE\"" >> /tmp
/appver.c
208 echo "int main() { printf(\"%.2f\", $VERSIONSYMBOL); }" >> /tmp
/appver.c
209 gcc
/tmp
/appver.c
-I$APPDIR -o /tmp
/appver
210 VERSION
=`/tmp/appver`
211 rm -f /tmp
/appver
/tmp
/appver.c
219 getfilelist
"os2" /tmp
/os2files
221 # Zip up the complete wxOS2-xxx.zip file
222 zip $ZIPFLAGS -@
$DESTDIR/wxOS2
-$VERSION.
zip < /tmp
/os2files
224 # Rearchive under wxWidgets-$VERSION
225 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
226 rm -f -r $DESTDIR/wxWidgets
-$VERSION
229 mkdir $DESTDIR/wxWidgets
-$VERSION
230 cd $DESTDIR/wxWidgets
-$VERSION
231 unzip $ZIPFLAGS ..
/wxOS2
-$VERSION.
zip
233 echo Copying readme files...
234 cp $APPDIR/docs
/os
2/install.txt INSTALL
-OS2.txt
238 rm -f wxOS2
-$VERSION.
zip
239 zip $ZIPFLAGS -r wxOS2
-$VERSION.
zip wxWidgets
-$VERSION/*
244 echo Zipping wxMSW...
248 # now expand the wildcards to actual file names
249 getfilelist
"msw" /tmp
/mswfiles
251 # Create wxWidgets-$VERSION-win.zip which is used to create wxMSW
252 echo Zipping individual components
253 rm -f $DESTDIR/wxWidgets
-$VERSION-win.
zip
254 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-win.
zip < /tmp
/mswfiles
259 echo Zipping wxAll...
262 echo Zipping individual components
263 rm -f $DESTDIR/wxWidgets
-$VERSION-all.
zip
265 # Save adding all the wxMSW files again
266 if [ ! -f $DESTDIR/wxWidgets
-$VERSION-win.
zip ]; then
269 cp $DESTDIR/wxWidgets
-$VERSION-win.
zip $DESTDIR/wxWidgets
-$VERSION-all.
zip
271 cat $MANIFESTDIR/cw_mac.rsp
$MANIFESTDIR/vc.rsp
$MANIFESTDIR/x11.rsp
$MANIFESTDIR/gtk.rsp
$MANIFESTDIR/cocoa.rsp
$MANIFESTDIR/motif.rsp
$MANIFESTDIR/mac.rsp
$MANIFESTDIR/mgl.rsp
$MANIFESTDIR/os2.rsp
$MANIFESTDIR/palmos.rsp
| sort | uniq > /tmp
/all.txt
272 zip $ZIPFLAGS -@
-u $DESTDIR/wxWidgets
-$VERSION-all.
zip < /tmp
/all.txt
274 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
275 rm -f -r $DESTDIR/wxWidgets
-$VERSION
278 mkdir $DESTDIR/wxWidgets
-$VERSION
279 cd $DESTDIR/wxWidgets
-$VERSION
280 unzip $ZIPFLAGS ..
/wxWidgets
-$VERSION-all.
zip
284 rm -f $DESTDIR/wxWidgets
-$VERSION-all.
zip
285 zip $ZIPFLAGS -r wxWidgets
-$VERSION.
zip wxWidgets
-$VERSION/*
292 echo Zipping wxBase...
293 rm -f $DESTDIR/wxBase
-$VERSION.
zip
294 expandlines
$MANIFESTDIR/base.rsp
/tmp
/basefiles
295 zip $ZIPFLAGS -@
$DESTDIR/wxBase
-$VERSION.
zip < /tmp
/basefiles
297 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
298 rm -f -r $DESTDIR/wxWidgets
-$VERSION
301 mkdir $DESTDIR/wxWidgets
-$VERSION
302 cd $DESTDIR/wxWidgets
-$VERSION
303 unzip $ZIPFLAGS ..
/wxBase
-$VERSION.
zip
305 echo Copying readme files...
306 cp $APPDIR/docs
/base
/readme.txt README.txt
310 rm -f wxBase
-$VERSION.
zip
311 zip $ZIPFLAGS -r wxBase
-$VERSION.
zip wxWidgets
-$VERSION/*
318 echo Creating
$DESTDIR/wxWidgets
-$VERSION-DocSource.
zip
319 expandlines
$MANIFESTDIR/docsrc.rsp
/tmp
/docsources
320 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-DocSource.
zip < /tmp
/docsources
321 rearchive wxWidgets
-$VERSION-DocSource.
zip wxWidgets
-$VERSION $DESTDIR
323 echo Creating
$DESTDIR/wxWidgets
-$VERSION-WinHelp.
zip
324 expandlines
$MANIFESTDIR/wx_hlp.rsp
/tmp
/winhelp
325 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-WinHelp.
zip < /tmp
/winhelp
326 rearchive wxWidgets
-$VERSION-WinHelp.
zip wxWidgets
-$VERSION $DESTDIR
328 echo Creating
$DESTDIR/wxWidgets
-$VERSION-HTML.
zip
329 expandlines
$MANIFESTDIR/wx_html.rsp
/tmp
/htmldocs
330 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-HTML.
zip < /tmp
/htmldocs
331 rearchive wxWidgets
-$VERSION-HTML.
zip wxWidgets
-$VERSION $DESTDIR
333 echo Creating
$DESTDIR/wxWidgets
-$VERSION-PDF.
zip
334 expandlines
$MANIFESTDIR/wx_pdf.rsp
/tmp
/pdfdocs
335 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-PDF.
zip < /tmp
/pdfdocs
336 rearchive wxWidgets
-$VERSION-PDF.
zip wxWidgets
-$VERSION $DESTDIR
338 echo Creating
$DESTDIR/wxWidgets
-$VERSION-PDF.
tar.gz
339 tar zcf
/c
/wx
2dev
/wxWindows
/deliver
/wxWidgets
-$VERSION-PDF.
tar.gz docs
/pdf
/*.pdf
340 rearchivetar wxWidgets
-$VERSION-PDF.
tar.gz wxWidgets
-$VERSION /c
/wx
2dev
/wxWindows
/deliver
342 echo Creating
$DESTDIR/wxWidgets
-$VERSION-HTB.
zip
343 expandlines
$MANIFESTDIR/wx_htb.rsp
/tmp
/htbdocs
344 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-HTB.
zip < /tmp
/htbdocs
345 rearchive wxWidgets
-$VERSION-HTB.
zip wxWidgets
-$VERSION $DESTDIR
347 echo Creating
$DESTDIR/wxWidgets
-$VERSION-HTMLHelp.
zip
348 expandlines
$MANIFESTDIR/wx_chm.rsp
/tmp
/chmdocs
349 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-HTMLHelp.
zip < /tmp
/chmdocs
350 rearchive wxWidgets
-$VERSION-HTMLHelp.
zip wxWidgets
-$VERSION $DESTDIR
352 # Add Linuxy docs to a separate archive to be transported to Linux for the
353 # Linux-based releases
354 echo Creating
$DESTDIR/wxWidgets
-$VERSION-LinuxDocs.
zip
356 cat $MANIFESTDIR/wx_html.rsp
$MANIFESTDIR/wx_pdf.rsp
$MANIFESTDIR/wx_htb.rsp
> /tmp
/linuxdocs.
in
357 expandlines
/tmp
/linuxdocs.
in /tmp
/linuxdocs
359 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-LinuxDocs.
zip < /tmp
/linuxdocs
361 # PDF/HTML docs that should go into the Windows setup because
362 # there are no WinHelp equivalents
363 echo Creating
$DESTDIR/wxWidgets
-$VERSION-ExtraDoc.
zip
364 expandlines
$SCRIPT/extradoc.rsp
/tmp
/extradocs
365 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-ExtraDoc.
zip < /tmp
/extradocs
366 rearchive wxWidgets
-$VERSION-ExtraDoc.
zip wxWidgets
-$VERSION $DESTDIR
373 if [ $port != "all" ]; then
374 portname
="`echo $port|tr '[a-z]' '[A-Z]'`"
379 echo "Zipping wx$portname..."
382 portfiles
="/tmp/wx$port.files"
383 getfilelist
"$port" "$portfiles"
385 zip $ZIPFLAGS -@
$DESTDIR/wx
$portname-$VERSION.
zip < $portfiles
386 zip $ZIPFLAGS -g $DESTDIR/wx
$portname-$VERSION.
zip LICENSE.txt COPYING.LIB CHANGES.txt README.txt
388 if [ $port = "msw" ] || [ $port = "all" ]; then
389 zip $ZIPFLAGS -g $DESTDIR/wx
$portname-$VERSION.
zip README
-MSW.txt INSTALL
-MSW.txt
392 if [ $port = "os2" ] || [ $port = "all" ]; then
393 zip $ZIPFLAGS -g $DESTDIR/wx
$portname-$VERSION.
zip INSTALL
-OS2.txt
396 # put all files in a wxWidgets-$VERSION subdir in the zip archive
397 rearchive wx
$portname-$VERSION.
zip wxWidgets
-$VERSION $DESTDIR
404 rm -f -r wxWidgets
-$VERSION
406 echo Unzipping the Windows files into wxWidgets
-$VERSION
408 mkdir -p wxWidgets
-$VERSION
410 unzip $ZIPFLAGS -o wxWidgets
-$VERSION-HTMLHelp.
zip
411 unzip $ZIPFLAGS -o wxWidgets
-$VERSION-ExtraDoc.
zip
413 # After this change of directory, we're in the
414 # temporary 'wx' directory and not acting on
415 # the source wxWidgets directory.
416 cd $DESTDIR/wxWidgets
-$VERSION
418 # Now delete a few files that are unnecessary
420 rm -f BuildCVS.txt descrip.mms
422 rm -f docs
/html
/wxbook.htm docs
/html
/roadmap.htm
423 rm -f src
/mingegcs.bat
426 rm -f src
/gtk
/descrip.mms src
/motif
/descrip.mms
429 # Disabled for now - Now cp some binary files to 'bin'
430 if [ ! -d bin
]; then
434 #cp $APPDIR/bin/tex2rtf.exe bin
435 #cp $APPDIR/bin/tex2rtf.chm bin
436 #cp $APPDIR/bin/widgets.exe bin
437 #cp $APPDIR/bin/life.exe bin
438 #cp $APPDIR/demos/life/breeder.lif bin
439 #cp $APPDIR/docs/htmlhelp/tex2rtf.chm bin
441 if [ ! -d docs
/pdf
]; then
444 #cp $APPDIR/docs/pdf/wxTutorial.pdf docs/pdf
448 zip $ZIPFLAGS -r wxMSW
-$VERSION.
zip wxWidgets
-$VERSION/*
449 cd wxWidgets
-$VERSION
451 if [ "$INNO" != "0" ]; then
452 echo Generating
$SETUPSCRIPTNAME
453 rm -f $SETUPSCRIPTNAME
455 sh
$SCRIPTDIR/msw
/makeinno.sh
$SETUPIMAGEDIR $INNOTOP $INNOBOTTOM $SETUPSCRIPTNAME
457 if [ ! -f $SETUPSCRIPTNAME ]; then
458 echo "*** Error - something went wrong with the script file generation."
462 # Now replace %VERSION% with the real application version, and other
464 echo Replacing variables
in the setup
script
465 doreplace
$SETUPSCRIPTNAME "s/%VERSION%/$VERSION/g"
466 doreplace
$SETUPSCRIPTNAME "s/%COPYRIGHTHOLDER%/$AUTHOR/g"
467 doreplace
$SETUPSCRIPTNAME "s/%VENDOR%/$VENDOR/g"
469 unix2dosname
$READMEFILE
470 doreplace
$SETUPSCRIPTNAME "s;%READMEFILE%;$RETVALUE;g"
472 unix2dosname
$READMEAFTERFILE
473 doreplace
$SETUPSCRIPTNAME "s;%READMEAFTERFILE%;$RETVALUE;g"
475 unix2dosname
$LICENSEFILE
476 doreplace
$SETUPSCRIPTNAME "s;%LICENSEFILE%;$RETVALUE;g"
478 doreplace
$SETUPSCRIPTNAME "s/%APPNAME%/$APPNAME/g"
479 doreplace
$SETUPSCRIPTNAME "s/%APPTITLE%/$APPTITLE/g"
481 unix2dosname
$SETUPIMAGEDIR
482 doreplace
$SETUPSCRIPTNAME "s;%SOURCEDIR%;$RETVALUE;g"
484 unix2dosname
$DESTDIR
485 doreplace
$SETUPSCRIPTNAME "s;%OUTPUTDIR%;$RETVALUE;g"
487 doreplace
$SETUPSCRIPTNAME "s/%APPEXTENSION%/$APPEXTENSION/g"
489 # FIXME: how do we get the first name in the list?
490 if [ "$MANUALFILES" != "" ]; then
491 HELPFILE
=`basename $MANUALFILES`
492 unix2dosname
$HELPFILE
493 doreplace
$SETUPSCRIPTNAME "s;%HELPFILE%;$RETVALUE;g"
496 rm -f $DESTDIR/setup
*.
* $DESTDIR/wxMSW
-$VERSION-Setup.exe
498 # Inno Setup complains if this step is not done
499 unix2dos
--unix2dos $SETUPSCRIPTNAME
501 # Now invoke INNO compiler on the new ISS file
502 # First, make a DOS filename or Inno Setup will get confused.
504 unix2dosname2
$SETUPSCRIPTNAME
505 DOSFILENAME
=$RETVALUE
507 # Note: the double slash is Mingw32/MSYS convention for
508 # denoting a switch, that must not be converted into
509 # a path (otherwise /c = c:/)
511 cd `dirname $SETUPSCRIPTNAME`
512 BASESCRIPTNAME
=`basename $SETUPSCRIPTNAME`
513 echo Invoking Inno Setup compiler on
$BASESCRIPTNAME
515 "$SETUPCOMPILER" //cc
$BASESCRIPTNAME
517 if [ ! -f $DESTDIR/setup.exe
]; then
518 echo "*** Error - the setup.exe was not generated."
523 mv setup.exe wxMSW
-$VERSION-Setup.exe
526 # echo Putting all the setup files into a single zip archive
527 # zip wxMSW-$VERSION-setup.zip readme-$VERSION.txt setup*.*
529 rm -f wxWidgets
-$VERSION-ExtraDoc.
zip
530 rm -f wxWidgets
-$VERSION-DocSource.
zip
531 rm -f wxWidgets
-$VERSION-LinuxDocs.
zip
533 echo If you saw no warnings or errors
, $APPTITLE was successfully spun.
540 if [ ! -d $SETUPIMAGEDIR ]; then
541 echo Making the
$SETUPIMAGEDIR for preparing the setup
542 mkdir -p $SETUPIMAGEDIR
546 if [ "$READMEFILE" != "" ] && [ -f $READMEFILE ]; then
547 echo Copying readme.txt
548 cp $READMEFILE $SETUPIMAGEDIR
550 # echo "*** Warning - $READMEFILE not found"
553 if [ "$LICENSEFILE" != "" ] && [ -f $LICENSEFILE ]; then
554 echo Copying licence.txt
555 cp $LICENSEFILE $SETUPIMAGEDIR
557 # echo "*** Warning - $LICENSEFILE not found"
560 if [ "$MAKEMANUAL" != "0" ]; then
561 if [ -d $MANUALDIR ]; then
565 echo "*** Warning - $MANUALDIR not found"
569 rm -f $DESTDIR/wx
*.
zip
571 rm -f $DESTDIR/ogl3
*.
zip
572 rm -f $DESTDIR/tex2rtf2
*.
zip
573 rm -f $DESTDIR/jpeg
*.
zip
574 rm -f $DESTDIR/tiff
*.
zip
575 rm -f $DESTDIR/utils
*.
zip
576 rm -f $DESTDIR/extradoc
*.
zip
577 rm -f $DESTDIR/stc
*.
zip
578 rm -f $DESTDIR/*-win32*.
zip
579 rm -f $DESTDIR/setup
*.
*
583 if [ -d $DESTDIR/wx
]; then
587 if [ ! -d $DESTDIR ]; then
590 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
591 rm -f -r $DESTDIR/wxWidgets
-$VERSION
594 # Copy FAQ from wxWebSite CVS
595 #if [ ! -d $WEBFILES ]; then
596 # echo Error - $WEBFILES does not exist
600 echo Copying FAQ and other files from
$WEBFILES
601 cp $WEBFILES/site
/faq
*.htm
$APPDIR/docs
/html
602 cp $WEBFILES/site
/platform.htm
$APPDIR/docs
/html
603 cp $WEBFILES/site
/i18n.htm
$APPDIR/docs
/html
605 echo Copying readme files...
606 cp $APPDIR/docs
/msw
/readme.txt README
-MSW.txt
607 cp $APPDIR/docs
/msw
/install.txt INSTALL
-MSW.txt
608 cp $APPDIR/docs
/os
2/install.txt INSTALL
-OS2.txt
609 cp $APPDIR/docs
/licence.txt LICENCE.txt
610 cp $APPDIR/docs
/lgpl.txt COPYING.LIB
611 cp $APPDIR/docs
/changes.txt CHANGES.txt
612 cp $APPDIR/docs
/readme.txt README.txt
614 # Copy setup0.h files to setup.h
615 # OS/2 always built with configure now
616 # cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h
617 cp $APPDIR/include
/wx
/msw
/setup0.h
$APPDIR/include
/wx
/msw
/setup.h
618 cp $APPDIR/include
/wx
/univ
/setup0.h
$APPDIR/include
/wx
/univ
/setup.h
621 if [ "$SPINOS2" = "1" ] || [ "$SPINALL" = "1" ]; then
622 dospinport
"os2" #dospinos2
626 if [ "$SPINMSW" = "1" ] || [ "$SPINALL" = "1" ]; then
627 dospinport
"msw" #dospinmsw
631 if [ "$SPINBASE" = "1" ] || [ "$SPINALL" = "1" ]; then
632 dospinport
"base" #dospinbase
636 if [ "$SPINWXALL" = "1" ] || [ "$SPINALL" = "1" ]; then
637 dospinport
"all" #dospinwxall
640 if [ "$SPINALL" = "1" ]; then
652 if [ "$SPINDOCS" = "1" ] || [ "$SPINALL" = "1" ]; then
656 docopydocs
$APPDIR $DESTDIR
658 # Time to regenerate the Inno Install script
662 # Get the makefiles that aren't in CVS and unarchive them
665 echo Getting eVC
++ project files...
666 curl http
://biolpc22.york.ac.uk
/pub
/CVS_Makefiles
/wx
-mk-evcprj.
zip --output /c
/transit
/wx
-mk-evcprj.
zip
667 echo Getting Digital Mars makefiles...
668 curl http
://biolpc22.york.ac.uk
/pub
/CVS_Makefiles
/wx
-mk-dmars.
zip --output /c
/transit
/wx
-mk-dmars.
zip
669 echo Getting VC
++ makefiles...
670 curl http
://biolpc22.york.ac.uk
/pub
/CVS_Makefiles
/wx
-mk-msvc.
zip --output /c
/transit
/wx
-mk-msvc.
zip
673 echo Unarchiving makefiles and project files...
674 unzip -o -a /c
/transit
/wx
-mk-evcprj.
zip
675 unzip -o -a /c
/transit
/wx
-mk-dmars.
zip
676 unzip -o -a /c
/transit
/wx
-mk-msvc.
zip
677 echo Done getting makefiles and project files.
682 echo "Usage: $PROGNAME [ options ]" 1>&2
684 echo " --help Display this help message"
685 echo " --upx Compress executable with UPX"
686 echo " --no-upx Do not compress executable with UPX"
687 echo " --inno Build the setup.exe"
688 echo " --no-inno Do not build the setup.exe"
689 echo " --wxmac Build wxMac distribution"
690 echo " --wxmsw Build wxMSW distribution"
691 echo " --wxos2 Build wxOS2 distribution"
692 echo " --wxall Build wxAll zip distribution"
693 echo " --wxbase Build wxBase zip distribution"
694 echo " --docs Build docs archives"
695 echo " --all Build all distributions (the default)"
696 echo " --getmakefiles Get out-of-CVS makefiles and unarchive into the wxWidgets source tree"
697 echo " --verbose Verbose zip operation"
699 echo Note that options only override settings
in $SCRIPTDIR/msw
/setup.var.
703 # Process command line options.
712 --wxmac) SPINMAC
=1; SPINALL
=0 ;;
713 --wxmsw) SPINMSW
=1; SPINALL
=0 ;;
714 --wxos2) SPINOS2
=1; SPINALL
=0 ;;
715 --wxall) SPINWXALL
=1; SPINALL
=0 ;;
716 --wxbase) SPINBASE
=1; SPINALL
=0 ;;
717 --getmakefiles) GETMAKEFILES
=1; SPINALL
=0 ;;
718 --docs) SPINDOCS
=1; SPINALL
=0 ;;
720 --verbose) VERBOSE
=1 ;;
731 if [ "$GETMAKEFILES" = "1" ]; then