seems I forgot to check in these changes to tex2rtf packaging scripts...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,3 +9,4 @@ TEX2RTFBIN=$WXWIN/utils/tex2rtf/deliver/tex2rtf
|
|||||||
DESTDIR=$WXWIN/utils/tex2rtf/deliver
|
DESTDIR=$WXWIN/utils/tex2rtf/deliver
|
||||||
|
|
||||||
$WXWIN/utils/tex2rtf/distrib/maketarball.sh $WXWIN $TEX2RTFBIN $DESTDIR $VERSION
|
$WXWIN/utils/tex2rtf/distrib/maketarball.sh $WXWIN $TEX2RTFBIN $DESTDIR $VERSION
|
||||||
|
sh zipsrc.sh $VERSION
|
||||||
|
@@ -1,34 +1,29 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Zip up Tex2RTF source
|
# Zip up Tex2RTF source
|
||||||
|
|
||||||
expandlines()
|
VERSION=-$1
|
||||||
{
|
if [ "$VERSION" = "-" ] ; then
|
||||||
toexpand=$1
|
VERSION=""
|
||||||
outputfile=$2
|
fi
|
||||||
|
|
||||||
rm -f $outputfile
|
|
||||||
touch $outputfile
|
|
||||||
for line in `cat $toexpand` ; do
|
|
||||||
if [ $line != "" ]; then
|
|
||||||
ls $line >> $outputfile
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
TEX2RTFDIR=`pwd`/..
|
TEX2RTFDIR=`pwd`/..
|
||||||
|
|
||||||
rm -f $TEX2RTFDIR/deliver/tex2rtf-source.zip
|
rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip
|
||||||
rm -f $TEX2RTFDIR/deliver/tex2rtf-source.tar.gz
|
rm -f $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar.gz
|
||||||
|
|
||||||
|
mkdir $TEX2RTFDIR/tex2rtf$VERSION-source
|
||||||
|
|
||||||
|
cd $TEX2RTFDIR
|
||||||
|
tar -c `cat $TEX2RTFDIR/distrib/src.rsp` | (cd tex2rtf$VERSION-source ; tar -x)
|
||||||
|
|
||||||
# Make a zip archive
|
# Make a zip archive
|
||||||
cd $TEX2RTFDIR
|
zip -9 -r $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.zip tex2rtf$VERSION-source
|
||||||
expandlines $TEX2RTFDIR/distrib/src.rsp temp.txt
|
|
||||||
zip -@ $TEX2RTFDIR/deliver/tex2rtf-source.zip < temp.txt
|
|
||||||
rm temp.txt
|
|
||||||
|
|
||||||
# Now make a tar archive
|
# Now make a tar archive
|
||||||
ls `cat $TEX2RTFDIR/distrib/src.rsp` > /tmp/tex2rtf.txt
|
tar cf $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar tex2rtf$VERSION-source
|
||||||
tar cvf $TEX2RTFDIR/deliver/tex2rtf-source.tar -T /tmp/tex2rtf.txt
|
gzip -9 $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar
|
||||||
gzip $TEX2RTFDIR/deliver/tex2rtf-source.tar
|
tar cf $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar tex2rtf$VERSION-source
|
||||||
rm /tmp/tex2rtf.txt
|
bzip2 -9 $TEX2RTFDIR/deliver/tex2rtf$VERSION-source.tar
|
||||||
|
|
||||||
|
|
||||||
|
rm -rf $TEX2RTFDIR/tex2rtf$VERSION-source
|
||||||
|
Reference in New Issue
Block a user