summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-08-02 20:19:42 (GMT)
committerFred Drake <fdrake@acm.org>1999-08-02 20:19:42 (GMT)
commit9ff3a6a6e71b08f97284aa8a521a25d5674a8da4 (patch)
treed2b818a28da0b505a702c299399ed3a718b30400 /Doc
parent9f2b42080a2a9e885c257416ba2794043764e942 (diff)
downloadcpython-9ff3a6a6e71b08f97284aa8a521a25d5674a8da4.zip
cpython-9ff3a6a6e71b08f97284aa8a521a25d5674a8da4.tar.gz
cpython-9ff3a6a6e71b08f97284aa8a521a25d5674a8da4.tar.bz2
Remove obsolete version of script.
Diffstat (limited to 'Doc')
-rwxr-xr-xDoc/tools/mktarball.sh84
1 files changed, 0 insertions, 84 deletions
diff --git a/Doc/tools/mktarball.sh b/Doc/tools/mktarball.sh
deleted file mode 100755
index fd8bbab..0000000
--- a/Doc/tools/mktarball.sh
+++ /dev/null
@@ -1,84 +0,0 @@
-#! /bin/sh
-#
-# script to create the latex source distribution
-# * should be modified to get the Python version number automatically
-# from the Makefile or someplace.
-#
-# usage:
-# ./mktarball.sh [-t|--tools] release [tag]
-#
-# with -t|--tools: doesn't include the documents, only the framework
-#
-# without [tag]: generate from the current version that's checked in
-# (*NOT* what's in the current directory!)
-#
-# with [tag]: generate from the named tag
-
-# VERSION='$Revision$'
-
-GZIP='gzip -9'
-GZIPEXT=tgz
-
-if [ "$1" = "-t" -o "$1" = "--tools" ] ; then
- shift 1
- TOOLS_ONLY=true
-fi
-if [ "$1" = "-z" -o "$1" = "--zip" ] ; then
- shift 1
- USE_ZIP=true
-fi
-if [ "$1" = "-g" -o "$1" = "--targz" -o "$1" = "--tgz" ] ; then
- shift 1
- USE_ZIP=''
-fi
-if [ "$1" = "-b" -o "$1" = "--bz2" -o "$1" = "--bzip2" ] ; then
- shift 1
- GZIP='bzip2 -9'
- GZIPEXT=tar.bz2
-fi
-
-RELEASE=$1; shift
-
-TEMPDIR=tmp.$$
-MYDIR=`pwd`
-
-TAG="$1"
-
-mkdirhier $TEMPDIR/Python-$RELEASE/Doc || exit $?
-if [ "$TAG" ] ; then
- cvs export -r $TAG -d $TEMPDIR/Python-$RELEASE/Doc python/dist/src/Doc \
- || exit $?
-else
- cvs checkout -d $TEMPDIR/Python-$RELEASE/Doc python/dist/src/Doc || exit $?
- rm -r `find $TEMPDIR -name CVS -print` || exit $?
-fi
-
-rm -f `find $TEMPDIR -name .cvsignore -print`
-
-rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.pdf
-rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.ps
-
-
-if [ "$TOOLS_ONLY" ] ; then
- cd $TEMPDIR/Python-$RELEASE/Doc
- # remove the actual documents
- rm -rf api ext lib mac ref tut
- cd ..
- if [ "$USE_ZIP" ] ; then
- zip -r9 tools-$RELEASE.zip Doc || exit
- else
- (tar cf - Doc | $GZIP >$MYDIR/tools-$RELEASE.$GZIPEXT) || exit $?
- fi
-else
- cd $TEMPDIR
- if [ "$USE_ZIP" ] ; then
- zip -r9 $MYDIR/latex-$RELEASE.zip Python-$RELEASE || exit $?
- else
- (tar cf - Python-$RELEASE | $GZIP >$MYDIR/latex-$RELEASE.$GZIPEXT) \
- || exit $?
- fi
-fi
-cd $MYDIR
-rm -r $TEMPDIR || exit $?
-
-exit 0