X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c721300b5973c219002ef05ae327f154c55e41a3..cec773c6fcd2065920a604aae5725e278313e495:/distrib/msw/tarwxall?ds=sidebyside diff --git a/distrib/msw/tarwxall b/distrib/msw/tarwxall index 896ebb327a..b38bddd888 100755 --- a/distrib/msw/tarwxall +++ b/distrib/msw/tarwxall @@ -74,26 +74,36 @@ echo Re-tarring wxAll in a subdirectory... cd $2 rm -f -r wxWindows-${WXVER} mkdir wxWindows-${WXVER} -cd wxWindows-${WXVER} -# Copy OS/2 specific configure files -cp $1/distrib/os2/os2-specific.zip docs/os2 +# If we have the full set of VC++ project files, +# get them +if [ -f $2/extra/wxWindows-${WXVER}-VC.zip ]; then + unzip -o $2/extra/wxWindows-${WXVER}-VC.zip +else + echo "Warning - did not find $2/deliver/extra/wxWindows-${WXVER}-VC.zip" +fi + +cd wxWindows-${WXVER} +$TAR xf ../wxAll-${WXVER}.tar # Translate all .dsp and .dsw files to DOS format unix2dos --unix2dos `cat $1/distrib/msw/vc.rsp` +# Copy OS/2 specific configure files +cp $1/distrib/os2/os2-specific.zip docs/os2 + # Copy the OS/2 files which probably haven't been copied yet mkdir include/wx/os2 mkdir src/os2 cp $1/include/wx/os2/*.H include/wx/os2 -cp $1/src/os2/*.CPP src/os2 +cp $1/src/os2/*.CPP $1/src/os2/*.I src/os2 # Make all OS/2 files lower case -$1/distrib/namedown include/wx/os2/*.H -$1/distrib/namedown src/os2/*.CPP +$1/distrib/msw/namedown include/wx/os2/*.H +$1/distrib/msw/namedown src/os2/*.CPP src/os2/*.I -$TAR xf ../wxAll-${WXVER}.tar cd .. + rm -f wxAll-${WXVER}.tar $TAR cf $2/wxAll-${WXVER}.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER}