X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c4cba256d8a4991763120dda2c85b0f85ca19cf..e5aa044ba4c5473c432581b5364d7f1bb25ad4ff:/distrib/msw/maketarballs diff --git a/distrib/msw/maketarballs b/distrib/msw/maketarballs index 64d8f26026..b69d37736a 100755 --- a/distrib/msw/maketarballs +++ b/distrib/msw/maketarballs @@ -1,5 +1,5 @@ #!/bin/sh -# Makes the wxWindows tarballs with 'make dist' +# Makes the wxWidgets tarballs with 'make dist' doupdatecvs() { @@ -79,6 +79,22 @@ dospinwxmotif() cp $WXDEST/wxmotif/release/*.tar.gz $WXDEST cp $WXDEST/wxmotif/release/*.tar.bz2 $WXDEST + + echo Rearchiving wxMotif tarballs to change wxMOTIF to wxMotif... + cd $WXDEST + mkdir wxMotif.tmp + cd wxMotif.tmp + rm -f -r * + tar xfz ../wxMOTIF-$WXVER.tar.gz + mv wxMOTIF-$WXVER wxMotif-$WXVER + rm -f ../wxMOTIF-$WXVER.tar.gz + rm -f ../wxMOTIF-$WXVER.tar.bz2 + tar cf ../wxMotif-$WXVER.tar * + gzip -c ../wxMotif-$WXVER.tar > ../wxMotif-$WXVER.tar.gz + bzip2 -f9 ../wxMotif-$WXVER.tar + cd .. + rm -f -r wxMotif.tmp + rm -f -r $WXDEST/wxmotif } dospinwxmac() @@ -104,6 +120,43 @@ dospinwxmac() cp $WXDEST/wxmac/release/*.tar.gz $WXDEST cp $WXDEST/wxmac/release/*.tar.bz2 $WXDEST + + echo Rearchiving wxMac tarballs to change wxMAC to wxMAC... + cd $WXDEST + mkdir wxMac.tmp + cd wxMac.tmp + rm -f -r * + tar xfz ../wxMac-$WXVER.tar.gz + mv wxMAC-$WXVER wxMac-$WXVER + rm -f ../wxMAC-$WXVER.tar.gz + rm -f ../wxMAC-$WXVER.tar.bz2 + tar cf ../wxMac-$WXVER.tar * + gzip -c ../wxMac-$WXVER.tar > ../wxMac-$WXVER.tar.gz + bzip2 -f9 ../wxMac-$WXVER.tar + cd .. + rm -f -r wxMac.tmp + + rm -f -r $WXDEST/wxmac +} + +docopydocs() +{ + cp $WXSRC/docs/readme.txt $WXDEST/readme-${WXVER}.txt + cp $WXSRC/docs/changes.txt $WXDEST/changes-${WXVER}.txt + cp $WXSRC/docs/mgl/readme.txt $WXDEST/readme-mgl-${WXVER}.txt + cp $WXSRC/docs/mgl/install.txt $WXDEST/install-mgl-${WXVER}.txt + cp $WXSRC/docs/x11/readme.txt $WXDEST/readme-x11-${WXVER}.txt + cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt + cp $WXSRC/docs/x11/install.txt $WXDEST/install-x11-${WXVER}.txt + cp $WXSRC/docs/motif/readme.txt $WXDEST/readme-motif-${WXVER}.txt + cp $WXSRC/docs/motif/install.txt $WXDEST/install-motif-${WXVER}.txt + cp $WXSRC/docs/msw/readme.txt $WXDEST/readme-msw-${WXVER}.txt + cp $WXSRC/docs/msw/install.txt $WXDEST/install-msw-${WXVER}.txt + cp $WXSRC/docs/gtk/readme.txt $WXDEST/readme-gtk-${WXVER}.txt + cp $WXSRC/docs/gtk/install.txt $WXDEST/install-gtk-${WXVER}.txt + cp $WXSRC/docs/mac/readme.txt $WXDEST/readme-mac-${WXVER}.txt + cp $WXSRC/docs/mac/install.txt $WXDEST/install-mac-${WXVER}.txt + cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt } PROGNAME=$0 @@ -171,7 +224,7 @@ for i in "$@"; do esac done -echo About to make wxWindows RPMs: +echo About to make wxWidgets RPMs: echo From $WXSRC echo To $WXDEST echo Version $WXVER @@ -198,3 +251,4 @@ if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then dospinwxmac fi +docopydocs