2002-08-07 09:56:23 +00:00
|
|
|
#!/bin/sh
|
2002-08-07 15:50:31 +00:00
|
|
|
# Zip up Tex2RTF source
|
2002-08-07 09:56:23 +00:00
|
|
|
|
2002-08-12 22:08:05 +00:00
|
|
|
VERSION=-$1
|
|
|
|
if [ "$VERSION" = "-" ] ; then
|
|
|
|
VERSION=""
|
|
|
|
fi
|
2002-08-07 09:56:23 +00:00
|
|
|
|
2002-08-07 15:50:31 +00:00
|
|
|
TEX2RTFDIR=`pwd`/..
|
2002-08-07 09:56:23 +00:00
|
|
|
|
2002-08-12 22:08:05 +00:00
|
|
|
rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip
|
|
|
|
rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar.gz
|
|
|
|
|
|
|
|
mkdir $TEX2RTFDIR/tex2rtf$VERSION-source
|
2002-08-07 15:50:31 +00:00
|
|
|
|
|
|
|
cd $TEX2RTFDIR
|
2002-08-12 22:08:05 +00:00
|
|
|
tar -c `cat $TEX2RTFDIR/distrib/src.rsp` | (cd tex2rtf$VERSION-source ; tar -x)
|
|
|
|
|
|
|
|
# Make a zip archive
|
|
|
|
zip -9 -r $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip tex2rtf$VERSION-source
|
2002-08-07 15:50:31 +00:00
|
|
|
|
|
|
|
# Now make a tar archive
|
2002-08-12 22:08:05 +00:00
|
|
|
tar cf $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar tex2rtf$VERSION-source
|
|
|
|
gzip -9 $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar
|
|
|
|
tar cf $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar tex2rtf$VERSION-source
|
|
|
|
bzip2 -9 $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar
|
|
|
|
|
2002-08-07 15:50:31 +00:00
|
|
|
|
2002-08-12 22:08:05 +00:00
|
|
|
rm -rf $TEX2RTFDIR/tex2rtf$VERSION-source
|