Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5812bdf

Browse files
committed
Merged revisions 77266,77279 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r77266 | kurt.kaiser | 2010-01-03 09:36:45 +0100 (So, 03 Jan 2010) | 6 lines r77152 to Doc/Makefile broke doc build due to (at least some) make binaries running clean prereq after checkout. 1. So, fix the insane make call in build.sh - seems to solve it. 2. Fix a missing redirection. 3. Check in the rsync opts that actually work during upload. ........ r77279 | georg.brandl | 2010-01-03 14:05:39 +0100 (So, 03 Jan 2010) | 1 line Update doc build step. ........
1 parent fbbb9bd commit 5812bdf

1 file changed

Lines changed: 5 additions & 21 deletions

File tree

Misc/build.sh

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ REMOTE_SYSTEM="[email protected]"
5555
REMOTE_DIR="/data/ftp.python.org/pub/docs.python.org/dev/py3k"
5656
RESULT_FILE="$DIR/build/index.html"
5757
INSTALL_DIR="/tmp/python-test-3.2/local"
58-
RSYNC_OPTS="-aC -e ssh"
58+
RSYNC_OPTS="-C -e ssh -rlogD"
5959

6060
# Always run the installed version of Python.
6161
PYTHON=$INSTALL_DIR/bin/python
@@ -136,7 +136,7 @@ mail_on_failure() {
136136

137137
## setup
138138
cd $DIR
139-
make clobber /dev/null 2>&1
139+
make clobber > /dev/null 2>&1
140140
cp -p Modules/Setup.dist Modules/Setup
141141
# But maybe there was no Makefile - we are only building docs. Clear build:
142142
rm -rf build/
@@ -259,25 +259,9 @@ fi
259259
cd $DIR/Doc
260260
F="make-doc.out"
261261
start=`current_time`
262-
# XXX(nnorwitz): For now, keep the code that checks for a conflicted file until
263-
# after the first release of 2.6a1 or 3.0a1. At that point, it will be clear
264-
# if there will be a similar problem with the new doc system.
265-
266-
# Doc/commontex/boilerplate.tex is expected to always have an outstanding
267-
# modification for the date. When a release is cut, a conflict occurs.
268-
# This allows us to detect this problem and not try to build the docs
269-
# which will definitely fail with a conflict.
270-
#CONFLICTED_FILE=commontex/boilerplate.tex
271-
#conflict_count=`grep -c "<<<" $CONFLICTED_FILE`
272-
conflict_count=0
273-
if [ $conflict_count != 0 ]; then
274-
echo "Conflict detected in $CONFLICTED_FILE. Doc build skipped." > ../build/$F
275-
err=1
276-
else
277-
make clean > ../build/$F 2>&1
278-
make checkout update html >> ../build/$F 2>&1
279-
err=$?
280-
fi
262+
make clean > ../build/$F 2>&1
263+
make checkout html >> ../build/$F 2>&1
264+
err=$?
281265
update_status "Making doc" "$F" $start
282266
if [ $err != 0 ]; then
283267
NUM_FAILURES=1

0 commit comments

Comments
 (0)