X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/659ade8c5b948b775ba278837659f10bf66b4844..d69225772ad1ff3952a3ee74055dc93f85c13812:/distrib/msw/makesetup.sh diff --git a/distrib/msw/makesetup.sh b/distrib/msw/makesetup.sh index 686ebbfc52..7afe376ecb 100644 --- a/distrib/msw/makesetup.sh +++ b/distrib/msw/makesetup.sh @@ -25,7 +25,7 @@ PROGNAME=$0 SCRIPTDIR=$WXWIN/distrib/msw WEBFILES=c:/wx2dev/wxWebSite # Set this to the required version -VERSION=2.5.3 +VERSION=2.6.0 . $SCRIPTDIR/setup.var @@ -250,7 +250,7 @@ dospinmsw() zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/utilmake.rsp zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/univ.rsp zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/wince.rsp - + zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/palmos.rsp } dospinwxall() @@ -266,8 +266,9 @@ dospinwxall() dospinmsw fi cp $DESTDIR/wxWidgets-$VERSION-win.zip $DESTDIR/wxWidgets-$VERSION-all.zip - - zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-all.zip < `cat $APPDIR/distrib/msw/cw_mac.rsp $APPDIR/distrib/msw/x11.rsp $APPDIR/distrib/msw/cocoa.rsp $APPDIR/distrib/msw/motif.rsp $APPDIR/distrib/msw/mac.rsp $APPDIR/distrib/msw/wince.rsp $APPDIR/distrib/msw/mgl.rsp $APPDIR/distrib/msw/os2.rsp` + + cat $APPDIR/distrib/msw/cw_mac.rsp $APPDIR/distrib/msw/vc.rsp $APPDIR/distrib/msw/x11.rsp $APPDIR/distrib/msw/cocoa.rsp $APPDIR/distrib/msw/motif.rsp $APPDIR/distrib/msw/mac.rsp $APPDIR/distrib/msw/mgl.rsp $APPDIR/distrib/msw/os2.rsp $APPDIR/distrib/msw/palmos.rsp | sort | uniq > /tmp/all.txt + zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-all.zip < /tmp/all.txt if [ -d $DESTDIR/wxWidgets-$VERSION ]; then rm -f -r $DESTDIR/wxWidgets-$VERSION @@ -286,7 +287,7 @@ dospinwxall() cd $DESTDIR rm -f $DESTDIR/wxWidgets-$VERSION-all.zip - zip $ZIPFLAGS -r wxAll-$VERSION.zip wxWidgets-$VERSION/* + zip $ZIPFLAGS -r wxWidgets-$VERSION.zip wxWidgets-$VERSION/* } dospinbase() @@ -411,6 +412,24 @@ dospinsetup() rm -f $DESTDIR/wxWidgets-$VERSION-LinuxTransit.zip zip $ZIPFLAGS $DESTDIR/wxWidgets-$VERSION-LinuxTransit.zip wxWidgets-$VERSION-LinuxDocs.zip wxWidgets-$VERSION-VC.zip wxWidgets-$VERSION-DMC.zip wxWidgets-$VERSION-eVC.zip wxWidgets-$VERSION-CW-Mac.zip + if [ ! -f $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip ]; then + cd $APPDIR + echo Creating $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip + zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip < $APPDIR/distrib/msw/wx_chm.rsp + rearchive wxWidgets-$VERSION-HTMLHelp.zip wxWidgets-$VERSION $DESTDIR + cd $DESTDIR + fi + + if [ ! -f $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip ]; then + cd $APPDIR + echo Creating $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip + zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip < $APPDIR/distrib/msw/extradoc.rsp + rearchive wxWidgets-$VERSION-ExtraDoc.zip wxWidgets-$VERSION $DESTDIR + cd $DESTDIR + fi + + rm -f -r wxWidgets-$VERSION + echo Unzipping the Windows files into wxWidgets-$VERSION mkdir -p wxWidgets-$VERSION @@ -420,6 +439,7 @@ dospinsetup() unzip $ZIPFLAGS -o wxWidgets-$VERSION-DMC.zip -d wxWidgets-$VERSION unzip $ZIPFLAGS -o wxWidgets-$VERSION-BC.zip -d wxWidgets-$VERSION unzip $ZIPFLAGS -o wxWidgets-$VERSION-CW.zip -d wxWidgets-$VERSION + unzip $ZIPFLAGS -o wxWidgets-$VERSION-HTMLHelp.zip unzip $ZIPFLAGS -o wxWidgets-$VERSION-ExtraDoc.zip @@ -437,7 +457,6 @@ dospinsetup() rm -f src/mingegcs.bat rm -f -r distrib rm -f *.spec - rm -f -r contrib/utils/wxrcedit rm -f src/gtk/descrip.mms src/motif/descrip.mms echo Copying readme files... @@ -513,7 +532,7 @@ dospinsetup() doreplace $SETUPSCRIPTNAME "s;%HELPFILE%;$RETVALUE;g" fi - rm -f $DESTDIR/setup*.* + rm -f $DESTDIR/setup*.* $DESTDIR/wxMSW-$VERSION-Setup.exe # Inno Setup complains if this step is not done unix2dos --unix2dos $SETUPSCRIPTNAME @@ -540,13 +559,19 @@ dospinsetup() fi cd $DESTDIR -# mv setup.exe $APPNAME-$VERSION-setup.exe + mv setup.exe wxMSW-$VERSION-Setup.exe - echo Putting all the setup files into a single zip archive - zip wxMSW-$VERSION-setup.zip readme-$VERSION.txt setup*.* + # echo Putting all the setup files into a single zip archive + # zip wxMSW-$VERSION-setup.zip readme-$VERSION.txt setup*.* rm -f wxWidgets-$VERSION-win.zip rm -f wxWidgets-$VERSION-ExtraDoc.zip + rm -f wxWidgets-$VERSION-DMC.zip + rm -f wxWidgets-$VERSION-eVC.zip + rm -f wxWidgets-$VERSION-Univ.zip + rm -f wxWidgets-$VERSION-VC.zip + rm -f wxWidgets-$VERSION-DocSource.zip + rm -f wxWidgets-$VERSION-LinuxDocs.zip echo If you saw no warnings or errors, $APPTITLE was successfully spun. echo @@ -627,7 +652,8 @@ makesetup() cp $WEBFILES/site/i18n.htm $APPDIR/docs/html # Copy setup0.h files to setup.h - cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h + # OS/2 always built with configure now + # cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h cp $APPDIR/include/wx/msw/setup0.h $APPDIR/include/wx/msw/setup.h cp $APPDIR/include/wx/univ/setup0.h $APPDIR/include/wx/univ/setup.h