From: Fred Drake Date: Tue, 10 Mar 1998 14:00:55 +0000 (+0000) Subject: In the source dist., don't include: X-Git-Tag: v1.5.1~418 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45e564dd78d3cd90ffbdf7f8e44f74dd40ee27b9;p=python In the source dist., don't include: - the .cvsignore files; these are only useful in the CVS tree - ref/ref.pdf - ref/ref.ps After compression, these last two account for about one-half MB, and half the tarball. They can be picked up from the appropriate format dist if needed. --- diff --git a/Doc/tools/mktarball.sh b/Doc/tools/mktarball.sh index e9d0c99488..6e7ea81bff 100755 --- a/Doc/tools/mktarball.sh +++ b/Doc/tools/mktarball.sh @@ -28,6 +28,11 @@ else rm -r `find $TEMPDIR -name CVS -print` || exit $? fi +rm -f `find $TEMPDIR/Python-$VERSION -name .cvsignore -print` + +rm -f $TEMPDIR/Python-$VERSION/Doc/ref/ref.pdf +rm -f $TEMPDIR/Python-$VERSION/Doc/ref/ref.ps + cd $TEMPDIR (tar cf - Python-$VERSION | gzip -9 >$MYDIR/latex-$VERSION.tar.gz) || exit $?