mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Helper scripts used in published the "development" snapshots of the
Python documentation.
This commit is contained in:
parent
63568aa9bb
commit
692565c9e9
2 changed files with 43 additions and 0 deletions
16
Doc/tools/push-docs.sh
Executable file
16
Doc/tools/push-docs.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Script to push docs from my development area to SourceForge, where the
|
||||
# update-docs.sh script unpacks them into their final destination.
|
||||
|
||||
START="`pwd`"
|
||||
MYDIR="`dirname $0`"
|
||||
cd "$MYDIR"
|
||||
MYDIR="`pwd`"
|
||||
HTMLDIR="${HTMLDIR:-html}"
|
||||
|
||||
cd "../$HTMLDIR"
|
||||
make --no-print-directory || exit $?
|
||||
RELEASE=`grep '^RELEASE=' Makefile | sed 's|RELEASE=||'`
|
||||
make --no-print-directory HTMLDIR="$HTMLDIR" bziphtml
|
||||
scp "html-$RELEASE.tar.bz2" python.sourceforge.net:/home/users/fdrake/python-docs-update.tar.bz2
|
||||
Loading…
Add table
Add a link
Reference in a new issue