X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af8fe023871b29fb5a892fc32c60b8db7fbf7288..2d4e4f802f8a165c8d41053d2cd6d33c32b08f79:/distrib/msw/tarwxall diff --git a/distrib/msw/tarwxall b/distrib/msw/tarwxall index dea6af3461..b38bddd888 100755 --- a/distrib/msw/tarwxall +++ b/distrib/msw/tarwxall @@ -74,10 +74,38 @@ echo Re-tarring wxAll in a subdirectory... cd $2 rm -f -r wxWindows-${WXVER} mkdir wxWindows-${WXVER} + +# 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 $1/src/os2/*.I src/os2 + +# Make all OS/2 files lower case +$1/distrib/msw/namedown include/wx/os2/*.H +$1/distrib/msw/namedown src/os2/*.CPP src/os2/*.I + cd .. + rm -f wxAll-${WXVER}.tar $TAR cf $2/wxAll-${WXVER}.tar wxWindows-${WXVER}/* rm -f -r wxWindows-${WXVER} gzip $2/wxAll-${WXVER}.tar +