This commit is contained in:
Benjamin Peterson 2014-09-24 20:22:49 -04:00
commit 64b2a94f10
1 changed files with 3 additions and 2 deletions

View File

@ -165,9 +165,10 @@ autobuild-dev:
autobuild-html: autobuild-html:
make html SPHINXOPTS='-A daily=1 -A versionswitcher=1' make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
# for stable releases: only build if not in pre-release stage (alpha, beta, rc) # for stable releases: only build if not in pre-release stage (alpha, beta)
# release candidate downloads are okay, since the stable tree can be in that stage
autobuild-stable: autobuild-stable:
@case $(DISTVERSION) in *[abc]*) \ @case $(DISTVERSION) in *[ab]*) \
echo "Not building; $(DISTVERSION) is not a release version."; \ echo "Not building; $(DISTVERSION) is not a release version."; \
exit 1;; \ exit 1;; \
esac esac