X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..bca6a3a5553884d5e210706b144dc3855798934d:/distrib/msw/tarwxmac?ds=sidebyside diff --git a/distrib/msw/tarwxmac b/distrib/msw/tarwxmac index 1e2b159d1c..d7e4e6fb06 100755 --- a/distrib/msw/tarwxmac +++ b/distrib/msw/tarwxmac @@ -3,7 +3,7 @@ # Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver) # We can't use e.g. this: -# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWindows-$VERSION-gen.zip +# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip # because there's not enough space on the command line, plus we need to ignore the # blank lines. @@ -70,10 +70,14 @@ cp $1/include/wx/mac/setup0.h $1/include/wx/setup.h echo Tarring... ### wxMac -cat $1/distrib/msw/mac.rsp $1/distrib/msw/generic.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/stc.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt +cat $1/distrib/msw/mac.rsp $1/distrib/msw/cocoa.rsp $1/distrib/msw/generic.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/stc.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/deprecated.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt $TAR cf $2/wxMac-${WXVER}.tar -T /tmp/wxmac.txt +cat $1/distrib/msw/cw_mac.rsp > /tmp/wxmac_in.txt +expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt +$TAR cf $2/wxWidgets-${WXVER}-CW-Mac.tar -T /tmp/wxmac.txt + rm -f $1/include/wx/setup.h echo Re-tarring in a subdirectory... @@ -91,10 +95,21 @@ $TAR cf $2/wxMac-${WXVER}.tar wxMac-${WXVER}/* rm -f -r wxMac-${WXVER} gzip $2/wxMac-${WXVER}.tar +echo Re-tarring CW project files... +cd $2 +mkdir wxWidgets-${WXVER} +cd wxWidgets-${WXVER} +$TAR xf $2/wxWidgets-${WXVER}-CW-Mac.tar +cd .. +rm -f wxWidgets-${WXVER}-CW-Mac.tar +$TAR zcf wxWidgets-${WXVER}-CW-Mac.tar.gz wxWidgets-${WXVER}/* + # Copy readme and other files cp $1/docs/readme.txt $2/readme-${WXVER}.txt cp $1/docs/changes.txt $2/changes-${WXVER}.txt cp $1/docs/mac/readme.txt $2/readme-mac-${WXVER}.txt cp $1/docs/mac/install.txt $2/install-mac-${WXVER}.txt +cp $1/docs/cocoa/readme.txt $2/readme-cocoa-${WXVER}.txt +cp $1/docs/cocoa/install.txt $2/install-cocoa-${WXVER}.txt echo Done!