summaryrefslogtreecommitdiffstats
path: root/Misc/build.sh
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-16 05:15:20 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-16 05:15:20 (GMT)
commitcb44f268121024573e83b1405b1c368d7bd360ff (patch)
treeddcd688f91a40d9b10f03b951dcf076ea196bf3e /Misc/build.sh
parent116aa62bf54a39697e25f21d6cf6799f7faa1349 (diff)
downloadcpython-cb44f268121024573e83b1405b1c368d7bd360ff.zip
cpython-cb44f268121024573e83b1405b1c368d7bd360ff.tar.gz
cpython-cb44f268121024573e83b1405b1c368d7bd360ff.tar.bz2
Support the new doc system. Also test_compiler was removed in 3k
Diffstat (limited to 'Misc/build.sh')
-rwxr-xr-xMisc/build.sh18
1 files changed, 11 insertions, 7 deletions
diff --git a/Misc/build.sh b/Misc/build.sh
index 9ae6365..2c0665f 100755
--- a/Misc/build.sh
+++ b/Misc/build.sh
@@ -75,10 +75,8 @@ ALWAYS_SKIP="-x $_ALWAYS_SKIP"
# Skip these tests altogether when looking for leaks. These tests
# do not need to be stored above in LEAKY_TESTS too.
-# test_compiler almost never finishes with the same number of refs
-# since it depends on other modules, skip it.
# test_logging causes hangs, skip it.
-LEAKY_SKIPS="-x test_compiler test_logging $_ALWAYS_SKIP"
+LEAKY_SKIPS="-x test_logging $_ALWAYS_SKIP"
# Change this flag to "yes" for old releases to only update/build the docs.
BUILD_DISABLED="no"
@@ -218,17 +216,23 @@ fi
cd $DIR/Doc
F="make-doc.out"
start=`current_time`
+# XXX(nnorwitz): For now, keep the code that checks for a conflicted file until
+# after the first release of 2.6a1 or 3.0a1. At that point, it will be clear
+# if there will be a similar problem with the new doc system.
+
+# At that point, it should be clear if this code is needed or not.
# Doc/commontex/boilerplate.tex is expected to always have an outstanding
# modification for the date. When a release is cut, a conflict occurs.
# This allows us to detect this problem and not try to build the docs
# which will definitely fail with a conflict.
-CONFLICTED_FILE=commontex/boilerplate.tex
-conflict_count=`grep -c "<<<" $CONFLICTED_FILE`
+#CONFLICTED_FILE=commontex/boilerplate.tex
+#conflict_count=`grep -c "<<<" $CONFLICTED_FILE`
+conflict_count=0
if [ $conflict_count != 0 ]; then
echo "Conflict detected in $CONFLICTED_FILE. Doc build skipped." > ../build/$F
err=1
else
- make >& ../build/$F
+ make html >& ../build/$F
err=$?
fi
update_status "Making doc" "$F" $start
@@ -242,6 +246,6 @@ echo "</body>" >> $RESULT_FILE
echo "</html>" >> $RESULT_FILE
## copy results
-rsync $RSYNC_OPTS html/* $REMOTE_SYSTEM:$REMOTE_DIR
+rsync $RSYNC_OPTS build/html/* $REMOTE_SYSTEM:$REMOTE_DIR
cd ../build
rsync $RSYNC_OPTS index.html *.out $REMOTE_SYSTEM:$REMOTE_DIR/results/