summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-13 13:39:46 (GMT)
committerGeorg Brandl <georg@python.org>2010-03-13 13:39:46 (GMT)
commite82110f3a53b34bcaca10b115b037c1cf1b5bd78 (patch)
tree37406d97c769298faa54bbc1c429f21873cecbd8 /Doc/Makefile
parent1b51c3d4deb4e99fe8440ce9e6f82769e2a1b9be (diff)
downloadcpython-e82110f3a53b34bcaca10b115b037c1cf1b5bd78.zip
cpython-e82110f3a53b34bcaca10b115b037c1cf1b5bd78.tar.gz
cpython-e82110f3a53b34bcaca10b115b037c1cf1b5bd78.tar.bz2
Change/fix handling of docs download location: for daily builds, put them right next to the HTML.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 9df8e1d..f5c890c 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -161,16 +161,17 @@ check:
serve:
../Tools/scripts/serve.py build/html
-# Targets for automatic doc build
+# Targets for daily automated doc build
# for development releases: always build
autobuild-dev:
make update
- make dist
+ make dist SPHINXOPTS='-A daily=1'
-# for stable releases: only build if not in development mode
+# for stable releases: only build if not in pre-release stage (alpha, beta, rc)
autobuild-stable:
@case $(DISTVERSION) in *[abc]*) \
- echo "Not building; not a release version."; exit 1;; \
+ echo "Not building; $(DISTVERSION) is not a release version."; \
+ exit 1;; \
esac
@make autobuild-dev