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 contribfiles
="stc.rsp contrib.rsp ogl.rsp"
45 utilsfiles
="tex2rtf.rsp utils.rsp utilmake.rsp"
46 commonfiles
="generic.rsp generic_samples.rsp jpeg.rsp tiff.rsp xml.rsp deprecated.rsp makefile.rsp $utilsfiles $contribfiles"
48 if [ ! $port = "base" ]; then
49 filelist
="$filelist $commonfiles"
52 if [ $port = "msw" ] || [ $port = "all" ]; then
53 filelist
="$filelist msw.rsp univ.rsp vc.rsp mmedia.rsp wince.rsp dmc.rsp"
56 if [ $port = "os2" ] || [ $port = "all" ]; then
57 filelist
="$filelist os2.rsp"
60 if [ $port = "x11" ] || [ $port = "all" ]; then
61 filelist
="$filelist x11.rsp"
64 if [ $port = "mgl" ] || [ $port = "all" ]; then
65 filelist
="$filelist mgl.rsp"
68 if [ $port = "gtk" ] || [ $port = "all" ]; then
69 filelist
="$filelist gtk.rsp"
72 if [ $port = "cocoa" ] || [ $port = "all" ]; then
73 filelist
="$filelist cocoa.rsp"
76 if [ $port = "motif" ] || [ $port = "all" ]; then
77 filelist
="$filelist motif.rsp"
80 if [ $port = "mac" ] || [ $port = "all" ]; then
81 filelist
="$filelist mac.rsp"
84 if [ $port = "all" ]; then
85 filelist
="$filelist palmos.rsp"
88 tempfile
="/tmp/wx$port.files.in"
95 cat $filelist > $tempfile
98 expandlines
$tempfile $outfile
108 if [ -f $thefile ]; then
109 sed -e "$theexpr" < $thefile > $thefile.tmp
110 mv $thefile.tmp
$thefile
112 echo "*** $thefile not found."
118 echo $1 | sed -e "s/\//\\\\\\\/g" > /tmp
/filename.tmp
119 RETVALUE
=`cat /tmp/filename.tmp`
120 rm -f /tmp
/filename.tmp
125 echo $1 | sed -e "s/\//\\\\/g" > /tmp
/filename.tmp
126 RETVALUE
=`cat /tmp/filename.tmp`
127 rm -f /tmp
/filename.tmp
132 if [ "$VERBOSE" != "1" ]; then
143 echo Re
-archiving $archive as
$dirname
147 if [ -d $dirname ]; then
152 unzip $ZIPFLAGS ..
/$archive
155 zip $ZIPFLAGS -r $archive $dirname/*
168 unzip $ZIPFLAGS $archive
170 tar cfz
$archive.
tar.gz
$dirname
172 tar -cvf $dirname | bzip2 -9 > $archive.
tar.bz2
186 echo Re
-tarring $archive as
$dirname
190 if [ -d $dirname ]; then
198 tar cfz
$archive $dirname/*
203 # Find the version from wx/version.h
207 echo "#include <stdio.h>" > /tmp
/appver.c
208 echo "#include \"$VERSIONSYMBOLFILE\"" >> /tmp
/appver.c
209 echo "int main() { printf(\"%.2f\", $VERSIONSYMBOL); }" >> /tmp
/appver.c
210 gcc
/tmp
/appver.c
-I$APPDIR -o /tmp
/appver
211 VERSION
=`/tmp/appver`
212 rm -f /tmp
/appver
/tmp
/appver.c
220 getfilelist
"os2" /tmp
/os2files
222 # Zip up the complete wxOS2-xxx.zip file
223 zip $ZIPFLAGS -@
$DESTDIR/wxOS2
-$VERSION.
zip < /tmp
/os2files
225 # Rearchive under wxWidgets-$VERSION
226 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
227 rm -f -r $DESTDIR/wxWidgets
-$VERSION
230 mkdir $DESTDIR/wxWidgets
-$VERSION
231 cd $DESTDIR/wxWidgets
-$VERSION
232 unzip $ZIPFLAGS ..
/wxOS2
-$VERSION.
zip
234 echo Copying readme files...
235 cp $APPDIR/docs
/os
2/install.txt INSTALL
-OS2.txt
239 rm -f wxOS2
-$VERSION.
zip
240 zip $ZIPFLAGS -r wxOS2
-$VERSION.
zip wxWidgets
-$VERSION/*
245 echo Zipping wxMSW...
249 # now expand the wildcards to actual file names
250 getfilelist
"msw" /tmp
/mswfiles
252 # Create wxWidgets-$VERSION-win.zip which is used to create wxMSW
253 echo Zipping individual components
254 rm -f $DESTDIR/wxWidgets
-$VERSION-win.
zip
255 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-win.
zip < /tmp
/mswfiles
260 echo Zipping wxAll...
263 echo Zipping individual components
264 rm -f $DESTDIR/wxWidgets
-$VERSION-all.
zip
266 # Save adding all the wxMSW files again
267 if [ ! -f $DESTDIR/wxWidgets
-$VERSION-win.
zip ]; then
270 cp $DESTDIR/wxWidgets
-$VERSION-win.
zip $DESTDIR/wxWidgets
-$VERSION-all.
zip
272 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
273 zip $ZIPFLAGS -@
-u $DESTDIR/wxWidgets
-$VERSION-all.
zip < /tmp
/all.txt
275 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
276 rm -f -r $DESTDIR/wxWidgets
-$VERSION
279 mkdir $DESTDIR/wxWidgets
-$VERSION
280 cd $DESTDIR/wxWidgets
-$VERSION
281 unzip $ZIPFLAGS ..
/wxWidgets
-$VERSION-all.
zip
285 rm -f $DESTDIR/wxWidgets
-$VERSION-all.
zip
286 zip $ZIPFLAGS -r wxWidgets
-$VERSION.
zip wxWidgets
-$VERSION/*
293 echo Zipping wxBase...
294 rm -f $DESTDIR/wxBase
-$VERSION.
zip
295 expandlines
$MANIFESTDIR/base.rsp
/tmp
/basefiles
296 zip $ZIPFLAGS -@
$DESTDIR/wxBase
-$VERSION.
zip < /tmp
/basefiles
298 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
299 rm -f -r $DESTDIR/wxWidgets
-$VERSION
302 mkdir $DESTDIR/wxWidgets
-$VERSION
303 cd $DESTDIR/wxWidgets
-$VERSION
304 unzip $ZIPFLAGS ..
/wxBase
-$VERSION.
zip
306 echo Copying readme files...
307 cp $APPDIR/docs
/base
/readme.txt README.txt
311 rm -f wxBase
-$VERSION.
zip
312 zip $ZIPFLAGS -r wxBase
-$VERSION.
zip wxWidgets
-$VERSION/*
319 echo Creating
$DESTDIR/wxWidgets
-$VERSION-DocSource.
zip
320 expandlines
$MANIFESTDIR/docsrc.rsp
/tmp
/docsources
321 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-DocSource.
zip < /tmp
/docsources
322 rearchive wxWidgets
-$VERSION-DocSource.
zip wxWidgets
-$VERSION $DESTDIR
324 echo Creating
$DESTDIR/wxWidgets
-$VERSION-WinHelp.
zip
325 expandlines
$MANIFESTDIR/wx_hlp.rsp
/tmp
/winhelp
326 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-WinHelp.
zip < /tmp
/winhelp
327 rearchive wxWidgets
-$VERSION-WinHelp.
zip wxWidgets
-$VERSION $DESTDIR
329 echo Creating
$DESTDIR/wxWidgets
-$VERSION-HTML.
zip
330 expandlines
$MANIFESTDIR/wx_html.rsp
/tmp
/htmldocs
331 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-HTML.
zip < /tmp
/htmldocs
332 rearchive wxWidgets
-$VERSION-HTML.
zip wxWidgets
-$VERSION $DESTDIR
334 echo Creating
$DESTDIR/wxWidgets
-$VERSION-PDF.
zip
335 expandlines
$MANIFESTDIR/wx_pdf.rsp
/tmp
/pdfdocs
336 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-PDF.
zip < /tmp
/pdfdocs
337 rearchive wxWidgets
-$VERSION-PDF.
zip wxWidgets
-$VERSION $DESTDIR
339 echo Creating
$DESTDIR/wxWidgets
-$VERSION-PDF.
tar.gz
340 tar zcf
/c
/wx
2dev
/wxWindows
/deliver
/wxWidgets
-$VERSION-PDF.
tar.gz docs
/pdf
/*.pdf
341 rearchivetar wxWidgets
-$VERSION-PDF.
tar.gz wxWidgets
-$VERSION /c
/wx
2dev
/wxWindows
/deliver
343 echo Creating
$DESTDIR/wxWidgets
-$VERSION-HTB.
zip
344 expandlines
$MANIFESTDIR/wx_htb.rsp
/tmp
/htbdocs
345 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-HTB.
zip < /tmp
/htbdocs
346 rearchive wxWidgets
-$VERSION-HTB.
zip wxWidgets
-$VERSION $DESTDIR
348 echo Creating
$DESTDIR/wxWidgets
-$VERSION-HTMLHelp.
zip
349 expandlines
$MANIFESTDIR/wx_chm.rsp
/tmp
/chmdocs
350 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-HTMLHelp.
zip < /tmp
/chmdocs
351 rearchive wxWidgets
-$VERSION-HTMLHelp.
zip wxWidgets
-$VERSION $DESTDIR
353 # Add Linuxy docs to a separate archive to be transported to Linux for the
354 # Linux-based releases
355 echo Creating
$DESTDIR/wxWidgets
-$VERSION-LinuxDocs.
zip
357 cat $MANIFESTDIR/wx_html.rsp
$MANIFESTDIR/wx_pdf.rsp
$MANIFESTDIR/wx_htb.rsp
> /tmp
/linuxdocs.
in
358 expandlines
/tmp
/linuxdocs.
in /tmp
/linuxdocs
360 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-LinuxDocs.
zip < /tmp
/linuxdocs
362 # PDF/HTML docs that should go into the Windows setup because
363 # there are no WinHelp equivalents
364 echo Creating
$DESTDIR/wxWidgets
-$VERSION-ExtraDoc.
zip
365 expandlines
$SCRIPT/extradoc.rsp
/tmp
/extradocs
366 zip $ZIPFLAGS -@
$DESTDIR/wxWidgets
-$VERSION-ExtraDoc.
zip < /tmp
/extradocs
367 rearchive wxWidgets
-$VERSION-ExtraDoc.
zip wxWidgets
-$VERSION $DESTDIR
374 if [ $port != "all" ]; then
375 portname
="`echo $port|tr '[a-z]' '[A-Z]'`"
380 echo "Zipping wx$portname..."
383 portfiles
="/tmp/wx$port.files"
384 getfilelist
"$port" "$portfiles"
386 zip $ZIPFLAGS -@
$DESTDIR/wx
$portname-$VERSION.
zip < $portfiles
387 zip $ZIPFLAGS -g $DESTDIR/wx
$portname-$VERSION.
zip LICENSE.txt COPYING.LIB CHANGES.txt README.txt
389 if [ $port = "msw" ] || [ $port = "all" ]; then
390 zip $ZIPFLAGS -g $DESTDIR/wx
$portname-$VERSION.
zip README
-MSW.txt INSTALL
-MSW.txt
393 if [ $port = "os2" ] || [ $port = "all" ]; then
394 zip $ZIPFLAGS -g $DESTDIR/wx
$portname-$VERSION.
zip INSTALL
-OS2.txt
397 # put all files in a wxWidgets-$VERSION subdir in the zip archive
398 rearchive wx
$portname-$VERSION.
zip wxWidgets
-$VERSION $DESTDIR
405 rm -f -r wxWidgets
-$VERSION
407 echo Unzipping the Windows files into wxWidgets
-$VERSION
409 mkdir -p wxWidgets
-$VERSION
411 unzip $ZIPFLAGS -o wxWidgets
-$VERSION-HTMLHelp.
zip
412 unzip $ZIPFLAGS -o wxWidgets
-$VERSION-ExtraDoc.
zip
414 # After this change of directory, we're in the
415 # temporary 'wx' directory and not acting on
416 # the source wxWidgets directory.
417 cd $DESTDIR/wxWidgets
-$VERSION
419 # Now delete a few files that are unnecessary
421 rm -f BuildCVS.txt descrip.mms
423 rm -f docs
/html
/wxbook.htm docs
/html
/roadmap.htm
424 rm -f -r contrib
/docs
/latex
/ogl
425 rm -f src
/mingegcs.bat
428 rm -f src
/gtk
/descrip.mms src
/motif
/descrip.mms
431 # Disabled for now - Now cp some binary files to 'bin'
432 if [ ! -d bin
]; then
436 #cp $APPDIR/bin/tex2rtf.exe bin
437 #cp $APPDIR/bin/tex2rtf.chm bin
438 #cp $APPDIR/bin/widgets.exe bin
439 #cp $APPDIR/bin/life.exe bin
440 #cp $APPDIR/demos/life/breeder.lif bin
441 #cp $APPDIR/docs/htmlhelp/tex2rtf.chm bin
443 if [ ! -d docs
/pdf
]; then
446 #cp $APPDIR/docs/pdf/wxTutorial.pdf docs/pdf
450 zip $ZIPFLAGS -r wxMSW
-$VERSION.
zip wxWidgets
-$VERSION/*
451 cd wxWidgets
-$VERSION
453 if [ "$INNO" != "0" ]; then
454 echo Generating
$SETUPSCRIPTNAME
455 rm -f $SETUPSCRIPTNAME
457 sh
$SCRIPTDIR/msw
/makeinno.sh
$SETUPIMAGEDIR $INNOTOP $INNOBOTTOM $SETUPSCRIPTNAME
459 if [ ! -f $SETUPSCRIPTNAME ]; then
460 echo "*** Error - something went wrong with the script file generation."
464 # Now replace %VERSION% with the real application version, and other
466 echo Replacing variables
in the setup
script
467 doreplace
$SETUPSCRIPTNAME "s/%VERSION%/$VERSION/g"
468 doreplace
$SETUPSCRIPTNAME "s/%COPYRIGHTHOLDER%/$AUTHOR/g"
469 doreplace
$SETUPSCRIPTNAME "s/%VENDOR%/$VENDOR/g"
471 unix2dosname
$READMEFILE
472 doreplace
$SETUPSCRIPTNAME "s;%READMEFILE%;$RETVALUE;g"
474 unix2dosname
$READMEAFTERFILE
475 doreplace
$SETUPSCRIPTNAME "s;%READMEAFTERFILE%;$RETVALUE;g"
477 unix2dosname
$LICENSEFILE
478 doreplace
$SETUPSCRIPTNAME "s;%LICENSEFILE%;$RETVALUE;g"
480 doreplace
$SETUPSCRIPTNAME "s/%APPNAME%/$APPNAME/g"
481 doreplace
$SETUPSCRIPTNAME "s/%APPTITLE%/$APPTITLE/g"
483 unix2dosname
$SETUPIMAGEDIR
484 doreplace
$SETUPSCRIPTNAME "s;%SOURCEDIR%;$RETVALUE;g"
486 unix2dosname
$DESTDIR
487 doreplace
$SETUPSCRIPTNAME "s;%OUTPUTDIR%;$RETVALUE;g"
489 doreplace
$SETUPSCRIPTNAME "s/%APPEXTENSION%/$APPEXTENSION/g"
491 # FIXME: how do we get the first name in the list?
492 if [ "$MANUALFILES" != "" ]; then
493 HELPFILE
=`basename $MANUALFILES`
494 unix2dosname
$HELPFILE
495 doreplace
$SETUPSCRIPTNAME "s;%HELPFILE%;$RETVALUE;g"
498 rm -f $DESTDIR/setup
*.
* $DESTDIR/wxMSW
-$VERSION-Setup.exe
500 # Inno Setup complains if this step is not done
501 unix2dos
--unix2dos $SETUPSCRIPTNAME
503 # Now invoke INNO compiler on the new ISS file
504 # First, make a DOS filename or Inno Setup will get confused.
506 unix2dosname2
$SETUPSCRIPTNAME
507 DOSFILENAME
=$RETVALUE
509 # Note: the double slash is Mingw32/MSYS convention for
510 # denoting a switch, that must not be converted into
511 # a path (otherwise /c = c:/)
513 cd `dirname $SETUPSCRIPTNAME`
514 BASESCRIPTNAME
=`basename $SETUPSCRIPTNAME`
515 echo Invoking Inno Setup compiler on
$BASESCRIPTNAME
517 "$SETUPCOMPILER" //cc
$BASESCRIPTNAME
519 if [ ! -f $DESTDIR/setup.exe
]; then
520 echo "*** Error - the setup.exe was not generated."
525 mv setup.exe wxMSW
-$VERSION-Setup.exe
528 # echo Putting all the setup files into a single zip archive
529 # zip wxMSW-$VERSION-setup.zip readme-$VERSION.txt setup*.*
531 rm -f wxWidgets
-$VERSION-ExtraDoc.
zip
532 rm -f wxWidgets
-$VERSION-DocSource.
zip
533 rm -f wxWidgets
-$VERSION-LinuxDocs.
zip
535 echo If you saw no warnings or errors
, $APPTITLE was successfully spun.
542 if [ ! -d $SETUPIMAGEDIR ]; then
543 echo Making the
$SETUPIMAGEDIR for preparing the setup
544 mkdir -p $SETUPIMAGEDIR
548 if [ "$READMEFILE" != "" ] && [ -f $READMEFILE ]; then
549 echo Copying readme.txt
550 cp $READMEFILE $SETUPIMAGEDIR
552 # echo "*** Warning - $READMEFILE not found"
555 if [ "$LICENSEFILE" != "" ] && [ -f $LICENSEFILE ]; then
556 echo Copying licence.txt
557 cp $LICENSEFILE $SETUPIMAGEDIR
559 # echo "*** Warning - $LICENSEFILE not found"
562 if [ "$MAKEMANUAL" != "0" ]; then
563 if [ -d $MANUALDIR ]; then
567 echo "*** Warning - $MANUALDIR not found"
571 rm -f $DESTDIR/wx
*.
zip
573 rm -f $DESTDIR/ogl3
*.
zip
574 rm -f $DESTDIR/contrib
*.
zip
575 rm -f $DESTDIR/tex2rtf2
*.
zip
576 rm -f $DESTDIR/mmedia
*.
zip
577 rm -f $DESTDIR/jpeg
*.
zip
578 rm -f $DESTDIR/tiff
*.
zip
579 rm -f $DESTDIR/utils
*.
zip
580 rm -f $DESTDIR/extradoc
*.
zip
581 rm -f $DESTDIR/stc
*.
zip
582 rm -f $DESTDIR/*-win32*.
zip
583 rm -f $DESTDIR/setup
*.
*
587 if [ -d $DESTDIR/wx
]; then
591 if [ ! -d $DESTDIR ]; then
594 if [ -d $DESTDIR/wxWidgets
-$VERSION ]; then
595 rm -f -r $DESTDIR/wxWidgets
-$VERSION
598 # Copy FAQ from wxWebSite CVS
599 #if [ ! -d $WEBFILES ]; then
600 # echo Error - $WEBFILES does not exist
604 echo Copying FAQ and other files from
$WEBFILES
605 cp $WEBFILES/site
/faq
*.htm
$APPDIR/docs
/html
606 cp $WEBFILES/site
/platform.htm
$APPDIR/docs
/html
607 cp $WEBFILES/site
/i18n.htm
$APPDIR/docs
/html
609 echo Copying readme files...
610 cp $APPDIR/docs
/msw
/readme.txt README
-MSW.txt
611 cp $APPDIR/docs
/msw
/install.txt INSTALL
-MSW.txt
612 cp $APPDIR/docs
/os
2/install.txt INSTALL
-OS2.txt
613 cp $APPDIR/docs
/licence.txt LICENCE.txt
614 cp $APPDIR/docs
/lgpl.txt COPYING.LIB
615 cp $APPDIR/docs
/changes.txt CHANGES.txt
616 cp $APPDIR/docs
/readme.txt README.txt
618 # Copy setup0.h files to setup.h
619 # OS/2 always built with configure now
620 # cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h
621 cp $APPDIR/include
/wx
/msw
/setup0.h
$APPDIR/include
/wx
/msw
/setup.h
622 cp $APPDIR/include
/wx
/univ
/setup0.h
$APPDIR/include
/wx
/univ
/setup.h
625 if [ "$SPINOS2" = "1" ] || [ "$SPINALL" = "1" ]; then
626 dospinport
"os2" #dospinos2
630 if [ "$SPINMSW" = "1" ] || [ "$SPINALL" = "1" ]; then
631 dospinport
"msw" #dospinmsw
635 if [ "$SPINBASE" = "1" ] || [ "$SPINALL" = "1" ]; then
636 dospinport
"base" #dospinbase
640 if [ "$SPINWXALL" = "1" ] || [ "$SPINALL" = "1" ]; then
641 dospinport
"all" #dospinwxall
644 if [ "$SPINALL" = "1" ]; then
656 if [ "$SPINDOCS" = "1" ] || [ "$SPINALL" = "1" ]; then
660 docopydocs
$APPDIR $DESTDIR
662 # Time to regenerate the Inno Install script
666 # Get the makefiles that aren't in CVS and unarchive them
669 echo Getting eVC
++ project files...
670 curl http
://biolpc22.york.ac.uk
/pub
/CVS_Makefiles
/wx
-mk-evcprj.
zip --output /c
/transit
/wx
-mk-evcprj.
zip
671 echo Getting Digital Mars makefiles...
672 curl http
://biolpc22.york.ac.uk
/pub
/CVS_Makefiles
/wx
-mk-dmars.
zip --output /c
/transit
/wx
-mk-dmars.
zip
673 echo Getting VC
++ makefiles...
674 curl http
://biolpc22.york.ac.uk
/pub
/CVS_Makefiles
/wx
-mk-msvc.
zip --output /c
/transit
/wx
-mk-msvc.
zip
677 echo Unarchiving makefiles and project files...
678 unzip -o -a /c
/transit
/wx
-mk-evcprj.
zip
679 unzip -o -a /c
/transit
/wx
-mk-dmars.
zip
680 unzip -o -a /c
/transit
/wx
-mk-msvc.
zip
681 echo Done getting makefiles and project files.
686 echo "Usage: $PROGNAME [ options ]" 1>&2
688 echo " --help Display this help message"
689 echo " --upx Compress executable with UPX"
690 echo " --no-upx Do not compress executable with UPX"
691 echo " --inno Build the setup.exe"
692 echo " --no-inno Do not build the setup.exe"
693 echo " --wxmac Build wxMac distribution"
694 echo " --wxmsw Build wxMSW distribution"
695 echo " --wxos2 Build wxOS2 distribution"
696 echo " --wxall Build wxAll zip distribution"
697 echo " --wxbase Build wxBase zip distribution"
698 echo " --docs Build docs archives"
699 echo " --all Build all distributions (the default)"
700 echo " --getmakefiles Get out-of-CVS makefiles and unarchive into the wxWidgets source tree"
701 echo " --verbose Verbose zip operation"
703 echo Note that options only override settings
in $SCRIPTDIR/msw
/setup.var.
707 # Process command line options.
716 --wxmac) SPINMAC
=1; SPINALL
=0 ;;
717 --wxmsw) SPINMSW
=1; SPINALL
=0 ;;
718 --wxos2) SPINOS2
=1; SPINALL
=0 ;;
719 --wxall) SPINWXALL
=1; SPINALL
=0 ;;
720 --wxbase) SPINBASE
=1; SPINALL
=0 ;;
721 --getmakefiles) GETMAKEFILES
=1; SPINALL
=0 ;;
722 --docs) SPINDOCS
=1; SPINALL
=0 ;;
724 --verbose) VERBOSE
=1 ;;
735 if [ "$GETMAKEFILES" = "1" ]; then