Docs: add html-stable autobuild variant

This commit is contained in:
Georg Brandl 2016-06-15 08:57:32 +02:00
parent 06d49bb895
commit 4b9e75ba7f
1 changed files with 7 additions and 1 deletions

View File

@ -161,7 +161,7 @@ autobuild-dev:
-make suspicious -make suspicious
# for quick rebuilds (HTML only) # for quick rebuilds (HTML only)
autobuild-html: autobuild-dev-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) # for stable releases: only build if not in pre-release stage (alpha, beta)
@ -173,3 +173,9 @@ autobuild-stable:
esac esac
@make autobuild-dev @make autobuild-dev
autobuild-stable-html:
@case $(DISTVERSION) in *[ab]*) \
echo "Not building; $(DISTVERSION) is not a release version."; \
exit 1;; \
esac
@make autobuild-dev-html