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