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

Skip to content

Commit 4b9e75b

Browse files
committed
Docs: add html-stable autobuild variant
1 parent 06d49bb commit 4b9e75b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Doc/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ autobuild-dev:
161161
-make suspicious
162162

163163
# for quick rebuilds (HTML only)
164-
autobuild-html:
164+
autobuild-dev-html:
165165
make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
166166

167167
# for stable releases: only build if not in pre-release stage (alpha, beta)
@@ -173,3 +173,9 @@ autobuild-stable:
173173
esac
174174
@make autobuild-dev
175175

176+
autobuild-stable-html:
177+
@case $(DISTVERSION) in *[ab]*) \
178+
echo "Not building; $(DISTVERSION) is not a release version."; \
179+
exit 1;; \
180+
esac
181+
@make autobuild-dev-html

0 commit comments

Comments
 (0)