blob: f36438fd0e92a998e21794c7389840315e64d48f [file] [log] [blame]
Fred Drake692565c2000-10-19 05:54:51 +00001#! /bin/sh
2
3# Script to push docs from my development area to SourceForge, where the
4# update-docs.sh script unpacks them into their final destination.
5
6START="`pwd`"
7MYDIR="`dirname $0`"
8cd "$MYDIR"
9MYDIR="`pwd`"
10HTMLDIR="${HTMLDIR:-html}"
11
12cd "../$HTMLDIR"
13make --no-print-directory || exit $?
14RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'`
15make --no-print-directory HTMLDIR="$HTMLDIR" bziphtml
16scp "html-$RELEASE.tar.bz2" python.sourceforge.net:/home/users/fdrake/python-docs-update.tar.bz2