]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/distrib/zipsrc.sh
Rebake after adding libs html and xml to samples using lib adv
[wxWidgets.git] / utils / tex2rtf / distrib / zipsrc.sh
CommitLineData
56d34922 1#!/bin/sh
bacfb94f 2# Zip up Tex2RTF source
56d34922 3
28a663e6
VS
4VERSION=-$1
5if [ "$VERSION" = "-" ] ; then
6 VERSION=""
7fi
56d34922 8
bacfb94f 9TEX2RTFDIR=`pwd`/..
56d34922 10
28a663e6
VS
11rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip
12rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar.gz
13
14mkdir $TEX2RTFDIR/tex2rtf$VERSION-source
bacfb94f 15
bacfb94f 16cd $TEX2RTFDIR
28a663e6
VS
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
bacfb94f
JS
21
22# Now make a tar archive
28a663e6
VS
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
bacfb94f 28
28a663e6 29rm -rf $TEX2RTFDIR/tex2rtf$VERSION-source