Script updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-05-30 19:21:04 +00:00
parent 8577d7b1b1
commit 2bd0a4dddc
4 changed files with 21 additions and 2 deletions

View File

@ -1,4 +1,5 @@
include/wx/cocoa/*.h
src/cocoa/*.cpp
src/cocoa/*.mm
src/cocoa/*.r
docs/cocoa/*.txt

View File

@ -173,9 +173,9 @@ utils/hhp2cached/*.txt
contrib/lib/dummy
samples/samples.bkl
samples/*.txt
samples/makefile*
samples/sample.r
samples/*.xpm
samples/access/*.cpp
@ -382,6 +382,7 @@ samples/docview/*.ico
samples/docview/*.bmp
samples/docview/*.pro
samples/docview/*.bkl
samples/docview/*.r
samples/docvwmdi/*.h
samples/docvwmdi/*.cpp
@ -666,6 +667,7 @@ samples/html/helpview/*.html
samples/html/helpview/*.pro
samples/html/helpview/test.zip
samples/html/helpview/*.bkl
samples/html/helpview/*.r
samples/image/*.cpp
samples/image/*.h
@ -849,6 +851,7 @@ samples/minimal/*.ico
samples/minimal/*.rc
samples/minimal/*.pro
samples/minimal/*.bkl
samples/minimal/*.r
samples/minifram/*.h
samples/minifram/*.cpp
@ -1301,6 +1304,7 @@ demos/forty/*.ico
demos/forty/*.txt
demos/forty/*.pro
demos/forty/*.bkl
demos/forty/*.r
demos/fractal/*.cpp
demos/fractal/*.h

View File

@ -55,6 +55,5 @@ include/wx/mac/classic/*.h
include/wx/mac/classic/private/*.h
include/wx/mac/private/*.h
samples/sample.r
samples/minimal/minimal.pbproj/project.pbxproj

View File

@ -74,6 +74,10 @@ cat $1/distrib/msw/mac.rsp $1/distrib/msw/cocoa.rsp $1/distrib/msw/generic.rsp $
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-CW-Mac-${WXVER}.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-CW-Mac-${WXVER}.tar
cd ..
rm -f wxWidgets-CW-Mac-${WXVER}.tar
$TAR zcf wxWidgets-CW-Mac-${WXVER}.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!