X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5318ee363696f7ea541e6ae1c412312bdfb74ee2..2d0c2e79c27e46a238cf44562fb98c99e65d79b4:/distrib/msw/maketarballs?ds=sidebyside diff --git a/distrib/msw/maketarballs b/distrib/msw/maketarballs index ea147d94b7..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,7 +79,22 @@ dospinwxmotif() cp $WXDEST/wxmotif/release/*.tar.gz $WXDEST cp $WXDEST/wxmotif/release/*.tar.bz2 $WXDEST - mv $WXDEST/wxMOTIF-$WXVER.tar.gz $WXDEST/wxMotif-$WXVER.tar.gz + + 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() @@ -105,7 +120,23 @@ dospinwxmac() cp $WXDEST/wxmac/release/*.tar.gz $WXDEST cp $WXDEST/wxmac/release/*.tar.bz2 $WXDEST - mv $WXDEST/wxMAC-$WXVER.tar.gz $WXDEST/wxMac-$WXVER.tar.gz + + 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() @@ -193,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