]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/distrib/zipsrc.sh
get rid of wxUSE_COMPATIBLE_COORD_TYPES, it is not used nor defined anywhere
[wxWidgets.git] / utils / tex2rtf / distrib / zipsrc.sh
1 #!/bin/sh
2 # Zip up Tex2RTF source
3
4 VERSION=-$1
5 if [ "$VERSION" = "-" ] ; then
6 VERSION=""
7 fi
8
9 TEX2RTFDIR=`pwd`/..
10
11 rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip
12 rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar.gz
13
14 mkdir $TEX2RTFDIR/tex2rtf$VERSION-source
15
16 cd $TEX2RTFDIR
17 tar -c `cat $TEX2RTFDIR/distrib/src.rsp` | (cd tex2rtf$VERSION-source ; tar -x)
18
19 # Make a zip archive
20 zip -9 -r $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip tex2rtf$VERSION-source
21
22 # Now make a tar archive
23 tar cf $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar tex2rtf$VERSION-source
24 gzip -9 $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar
25 tar cf $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar tex2rtf$VERSION-source
26 bzip2 -9 $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar
27
28
29 rm -rf $TEX2RTFDIR/tex2rtf$VERSION-source