summaryrefslogtreecommitdiffstats
path: root/Doc/tools/push-docs.sh
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-01 20:15:05 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-01 20:15:05 (GMT)
commitf54519d9e4fe18986264d10014b70653a01892f7 (patch)
tree1ed457463ff951fce9f386b834a9a977b0ff2616 /Doc/tools/push-docs.sh
parent6169f09d64caf4c36936bc8caeaeb5448f72afac (diff)
downloadcpython-f54519d9e4fe18986264d10014b70653a01892f7.zip
cpython-f54519d9e4fe18986264d10014b70653a01892f7.tar.gz
cpython-f54519d9e4fe18986264d10014b70653a01892f7.tar.bz2
Update to push the docs to python.org instead of python.sf.net.
Diffstat (limited to 'Doc/tools/push-docs.sh')
-rwxr-xr-xDoc/tools/push-docs.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/tools/push-docs.sh b/Doc/tools/push-docs.sh
index 11a5f33..389f7bb 100755
--- a/Doc/tools/push-docs.sh
+++ b/Doc/tools/push-docs.sh
@@ -3,7 +3,10 @@
# 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/f/fd/fdrake/tmp
+TARGETHOST=www.python.org
+TARGETDIR=/usr/home/fdrake/tmp
+
+TARGET="$TARGETHOST:$TARGETDIR"
ADDRESSES='python-dev@python.org doc-sig@python.org python-list@python.org'
@@ -68,7 +71,7 @@ make --no-print-directory bziphtml || exit $?
RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'`
PACKAGE="html-$RELEASE.tar.bz2"
scp "$PACKAGE" tools/update-docs.sh $TARGET/ || exit $?
-ssh python.sourceforge.net tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $?
+ssh "$TARGETHOST" tmp/update-docs.sh $DOCTYPE $PACKAGE '&&' rm tmp/update-docs.sh || exit $?
if $ANNOUNCE ; then
sendmail $ADDRESSES <<EOF
@@ -78,7 +81,7 @@ Subject: [$DOCLABEL doc updates]
The $DOCLABEL version of the documentation has been updated:
- http://python.sourceforge.net/$DOCTYPE-docs/
+ http://$TARGETHOST/dev/doc/$DOCTYPE/
$EXPLANATION
EOF