2002-08-07 05:56:23 -04:00
|
|
|
#!/bin/sh
|
2002-08-07 11:50:31 -04:00
|
|
|
# Zip up Tex2RTF source
|
2002-08-07 05:56:23 -04:00
|
|
|
|
2002-08-12 18:08:05 -04:00
|
|
|
VERSION=-$1
|
|
|
|
if [ "$VERSION" = "-" ] ; then
|
|
|
|
VERSION=""
|
|
|
|
fi
|
2002-08-07 05:56:23 -04:00
|
|
|
|
2002-08-07 11:50:31 -04:00
|
|
|
TEX2RTFDIR=`pwd`/..
|
2002-08-07 05:56:23 -04:00
|
|
|
|
2002-08-12 18:08:05 -04: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 11:50:31 -04:00
|
|
|
|
|
|
|
cd $TEX2RTFDIR
|
2002-08-12 18:08:05 -04: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 11:50:31 -04:00
|
|
|
|
|
|
|
# Now make a tar archive
|
2002-08-12 18:08:05 -04: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 11:50:31 -04:00
|
|
|
|
2002-08-12 18:08:05 -04:00
|
|
|
rm -rf $TEX2RTFDIR/tex2rtf$VERSION-source
|