Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 6ac3c7b58813bd9fb7447e4e52342c5306692a69 authored by cvs2svn on 23 January 2001, 01:57:40 UTC
This commit was manufactured by cvs2svn to create tag 'r21a1'.
Tip revision: 6ac3c7b
push-docs.sh
#! /bin/sh

#  Script to push docs from my development area to SourceForge, where the
#  update-docs.sh script unpacks them into their final destination.

TARGET=python.sourceforge.net:/home/users/fdrake

if [ "$1" ] ; then
    scp "$1" $TARGET/python-docs-update.txt || exit $?
fi

START="`pwd`"
MYDIR="`dirname $0`"
cd "$MYDIR"
MYDIR="`pwd`"
HTMLDIR="${HTMLDIR:-html}"

cd "../$HTMLDIR"
make --no-print-directory || exit $?
cd ..
RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'`
make --no-print-directory HTMLDIR="$HTMLDIR" bziphtml
scp "html-$RELEASE.tar.bz2" $TARGET/python-docs-update.tar.bz2
back to top