Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Python documentation |
| 3 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 4 | # |
| 5 | |
| 6 | # You can set these variables from the command line. |
Victor Stinner | 91b0e7d | 2017-02-15 23:36:08 +0100 | [diff] [blame] | 7 | PYTHON = python3 |
Ned Deily | 590665c | 2017-09-07 17:17:53 -0700 | [diff] [blame] | 8 | VENVDIR = ./venv |
| 9 | SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build |
| 10 | BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb |
Christian Heimes | 2c18161 | 2007-12-17 20:04:13 +0000 | [diff] [blame] | 11 | PAPER = |
Christian Heimes | fe337bf | 2008-03-23 21:54:12 +0000 | [diff] [blame] | 12 | SOURCES = |
Benjamin Peterson | 82c05a5 | 2014-12-10 11:04:17 -0500 | [diff] [blame] | 13 | DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) |
Julien Palard | f98c162 | 2018-11-03 19:06:33 +0100 | [diff] [blame] | 14 | SPHINXERRORHANDLING = -W |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 15 | |
Zachary Ware | 99df5e8 | 2019-09-09 23:11:23 +0100 | [diff] [blame] | 16 | # Internal variables. |
| 17 | PAPEROPT_a4 = -D latex_elements.papersize=a4paper |
| 18 | PAPEROPT_letter = -D latex_elements.papersize=letterpaper |
| 19 | |
| 20 | ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) \ |
Julien Palard | f98c162 | 2018-11-03 19:06:33 +0100 | [diff] [blame] | 21 | $(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES) |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 22 | |
Miss Islington (bot) | 313f801 | 2019-09-10 07:51:43 -0700 | [diff] [blame] | 23 | .PHONY: help build html htmlhelp latex text texinfo changes linkcheck \ |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 24 | suspicious coverage doctest pydoc-topics htmlview clean dist check serve \ |
Ned Deily | 122fc13 | 2017-11-27 17:07:32 -0500 | [diff] [blame] | 25 | autobuild-dev autobuild-stable venv |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 26 | |
| 27 | help: |
| 28 | @echo "Please use \`make <target>' where <target> is one of" |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 29 | @echo " clean to remove build files" |
Brett Cannon | d5ea39d | 2014-12-05 15:17:31 -0500 | [diff] [blame] | 30 | @echo " venv to create a venv with necessary tools" |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 31 | @echo " html to make standalone HTML files" |
Zachary Ware | 9393fff | 2014-04-29 09:24:40 -0500 | [diff] [blame] | 32 | @echo " htmlview to open the index page built by the html target in your browser" |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 33 | @echo " htmlhelp to make HTML files and a HTML help project" |
| 34 | @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" |
| 35 | @echo " text to make plain text files" |
Miss Islington (bot) | 313f801 | 2019-09-10 07:51:43 -0700 | [diff] [blame] | 36 | @echo " texinfo to make Texinfo file" |
Georg Brandl | 183fe81 | 2011-01-05 11:00:25 +0000 | [diff] [blame] | 37 | @echo " epub to make EPUB files" |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 38 | @echo " changes to make an overview over all changed/added/deprecated items" |
| 39 | @echo " linkcheck to check all external links for integrity" |
| 40 | @echo " coverage to check documentation coverage for library and C API" |
| 41 | @echo " doctest to run doctests in the documentation" |
| 42 | @echo " pydoc-topics to regenerate the pydoc topics file" |
| 43 | @echo " dist to create a \"dist\" directory with archived docs for download" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 44 | @echo " suspicious to check for suspicious markup in output text" |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 45 | @echo " check to run a check for frequent markup errors" |
| 46 | @echo " serve to serve the documentation on the localhost (8000)" |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 47 | |
Ned Deily | 122fc13 | 2017-11-27 17:07:32 -0500 | [diff] [blame] | 48 | build: |
Ned Deily | fcd97d4 | 2017-09-05 00:10:31 -0700 | [diff] [blame] | 49 | -mkdir -p build |
| 50 | # Look first for a Misc/NEWS file (building from a source release tarball |
| 51 | # or old repo) and use that, otherwise look for a Misc/NEWS.d directory |
| 52 | # (building from a newer repo) and use blurb to generate the NEWS file. |
| 53 | @if [ -f ../Misc/NEWS ] ; then \ |
| 54 | echo "Using existing Misc/NEWS file"; \ |
| 55 | cp ../Misc/NEWS build/NEWS; \ |
Gregory P. Smith | 3918ad6 | 2019-05-07 17:03:50 -0400 | [diff] [blame] | 56 | elif $(BLURB) help >/dev/null 2>&1 && $(SPHINXBUILD) --version >/dev/null 2>&1; then \ |
| 57 | if [ -d ../Misc/NEWS.d ]; then \ |
| 58 | echo "Building NEWS from Misc/NEWS.d with blurb"; \ |
| 59 | $(BLURB) merge -f build/NEWS; \ |
| 60 | else \ |
| 61 | echo "Neither Misc/NEWS.d nor Misc/NEWS found; cannot build docs"; \ |
| 62 | exit 1; \ |
| 63 | fi \ |
Ned Deily | fcd97d4 | 2017-09-05 00:10:31 -0700 | [diff] [blame] | 64 | else \ |
Gregory P. Smith | 3918ad6 | 2019-05-07 17:03:50 -0400 | [diff] [blame] | 65 | echo ""; \ |
| 66 | echo "Missing the required blurb or sphinx-build tools."; \ |
| 67 | echo "Please run 'make venv' to install local copies."; \ |
| 68 | echo ""; \ |
Ned Deily | fcd97d4 | 2017-09-05 00:10:31 -0700 | [diff] [blame] | 69 | exit 1; \ |
| 70 | fi |
Georg Brandl | f7b2f36 | 2014-02-16 09:46:36 +0100 | [diff] [blame] | 71 | $(SPHINXBUILD) $(ALLSPHINXOPTS) |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 72 | @echo |
| 73 | |
| 74 | html: BUILDER = html |
| 75 | html: build |
| 76 | @echo "Build finished. The HTML pages are in build/html." |
| 77 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 78 | htmlhelp: BUILDER = htmlhelp |
| 79 | htmlhelp: build |
| 80 | @echo "Build finished; now you can run HTML Help Workshop with the" \ |
Guido van Rossum | da27fd2 | 2007-08-17 00:24:54 +0000 | [diff] [blame] | 81 | "build/htmlhelp/pydoc.hhp project file." |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 82 | |
Christian Heimes | d8654cf | 2007-12-02 15:22:16 +0000 | [diff] [blame] | 83 | latex: BUILDER = latex |
| 84 | latex: build |
| 85 | @echo "Build finished; the LaTeX files are in build/latex." |
Christian Heimes | 2c18161 | 2007-12-17 20:04:13 +0000 | [diff] [blame] | 86 | @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ |
| 87 | "run these through (pdf)latex." |
Christian Heimes | d8654cf | 2007-12-02 15:22:16 +0000 | [diff] [blame] | 88 | |
Georg Brandl | 0c77a82 | 2008-06-10 16:37:50 +0000 | [diff] [blame] | 89 | text: BUILDER = text |
| 90 | text: build |
| 91 | @echo "Build finished; the text files are in build/text." |
| 92 | |
Miss Islington (bot) | 313f801 | 2019-09-10 07:51:43 -0700 | [diff] [blame] | 93 | texinfo: BUILDER = texinfo |
| 94 | texinfo: build |
| 95 | @echo "Build finished; the python.texi file is in build/texinfo." |
| 96 | @echo "Run \`make info' in that directory to run it through makeinfo." |
| 97 | |
Georg Brandl | 183fe81 | 2011-01-05 11:00:25 +0000 | [diff] [blame] | 98 | epub: BUILDER = epub |
| 99 | epub: build |
| 100 | @echo "Build finished; the epub files are in build/epub." |
| 101 | |
Christian Heimes | 5b5e81c | 2007-12-31 16:14:33 +0000 | [diff] [blame] | 102 | changes: BUILDER = changes |
| 103 | changes: build |
| 104 | @echo "The overview file is in build/changes." |
| 105 | |
Christian Heimes | 292d351 | 2008-02-03 16:51:08 +0000 | [diff] [blame] | 106 | linkcheck: BUILDER = linkcheck |
Serhiy Storchaka | 17f5f81 | 2014-07-22 10:24:25 +0300 | [diff] [blame] | 107 | linkcheck: |
| 108 | @$(MAKE) build BUILDER=$(BUILDER) || { \ |
| 109 | echo "Link check complete; look for any errors in the above output" \ |
| 110 | "or in build/$(BUILDER)/output.txt"; \ |
| 111 | false; } |
Christian Heimes | 292d351 | 2008-02-03 16:51:08 +0000 | [diff] [blame] | 112 | |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 113 | suspicious: BUILDER = suspicious |
Serhiy Storchaka | 17f5f81 | 2014-07-22 10:24:25 +0300 | [diff] [blame] | 114 | suspicious: |
| 115 | @$(MAKE) build BUILDER=$(BUILDER) || { \ |
| 116 | echo "Suspicious check complete; look for any errors in the above output" \ |
| 117 | "or in build/$(BUILDER)/suspicious.csv. If all issues are false" \ |
Georg Brandl | 61bd1dc | 2014-09-30 22:56:38 +0200 | [diff] [blame] | 118 | "positives, append that file to tools/susp-ignored.csv."; \ |
Serhiy Storchaka | 17f5f81 | 2014-07-22 10:24:25 +0300 | [diff] [blame] | 119 | false; } |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 120 | |
Christian Heimes | d3eb5a15 | 2008-02-24 00:38:49 +0000 | [diff] [blame] | 121 | coverage: BUILDER = coverage |
| 122 | coverage: build |
| 123 | @echo "Coverage finished; see c.txt and python.txt in build/coverage" |
| 124 | |
Christian Heimes | fe337bf | 2008-03-23 21:54:12 +0000 | [diff] [blame] | 125 | doctest: BUILDER = doctest |
Serhiy Storchaka | 17f5f81 | 2014-07-22 10:24:25 +0300 | [diff] [blame] | 126 | doctest: |
| 127 | @$(MAKE) build BUILDER=$(BUILDER) || { \ |
| 128 | echo "Testing of doctests in the sources finished, look at the" \ |
| 129 | "results in build/doctest/output.txt"; \ |
| 130 | false; } |
Christian Heimes | fe337bf | 2008-03-23 21:54:12 +0000 | [diff] [blame] | 131 | |
Georg Brandl | 6b38daa | 2008-06-01 21:05:17 +0000 | [diff] [blame] | 132 | pydoc-topics: BUILDER = pydoc-topics |
| 133 | pydoc-topics: build |
Larry Hastings | e8ff0ca | 2015-05-30 16:58:27 -0700 | [diff] [blame] | 134 | @echo "Building finished; now run this:" \ |
| 135 | "cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py" |
Georg Brandl | 6b38daa | 2008-06-01 21:05:17 +0000 | [diff] [blame] | 136 | |
Benjamin Peterson | 4118174 | 2008-07-02 20:22:54 +0000 | [diff] [blame] | 137 | htmlview: html |
| 138 | $(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')" |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 139 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 140 | clean: |
Ned Deily | 590665c | 2017-09-07 17:17:53 -0700 | [diff] [blame] | 141 | -rm -rf build/* $(VENVDIR)/* |
Brett Cannon | d5ea39d | 2014-12-05 15:17:31 -0500 | [diff] [blame] | 142 | |
| 143 | venv: |
Ned Deily | 122fc13 | 2017-11-27 17:07:32 -0500 | [diff] [blame] | 144 | $(PYTHON) -m venv $(VENVDIR) |
Stéphane Wirtel | 0a52d73 | 2019-05-14 13:49:49 +0200 | [diff] [blame] | 145 | $(VENVDIR)/bin/python3 -m pip install -U pip setuptools |
Jon Wayne Parrott | bf63e8d | 2018-03-01 13:02:50 -0800 | [diff] [blame] | 146 | $(VENVDIR)/bin/python3 -m pip install -U Sphinx blurb python-docs-theme |
Ned Deily | 122fc13 | 2017-11-27 17:07:32 -0500 | [diff] [blame] | 147 | @echo "The venv has been created in the $(VENVDIR) directory" |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 148 | |
| 149 | dist: |
Georg Brandl | 38557f2 | 2010-08-03 12:36:57 +0000 | [diff] [blame] | 150 | rm -rf dist |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 151 | mkdir -p dist |
| 152 | |
| 153 | # archive the HTML |
| 154 | make html |
Benjamin Peterson | 9203501 | 2008-12-27 16:00:54 +0000 | [diff] [blame] | 155 | cp -pPR build/html dist/python-$(DISTVERSION)-docs-html |
| 156 | tar -C dist -cf dist/python-$(DISTVERSION)-docs-html.tar python-$(DISTVERSION)-docs-html |
| 157 | bzip2 -9 -k dist/python-$(DISTVERSION)-docs-html.tar |
| 158 | (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-html.zip python-$(DISTVERSION)-docs-html) |
| 159 | rm -r dist/python-$(DISTVERSION)-docs-html |
| 160 | rm dist/python-$(DISTVERSION)-docs-html.tar |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 161 | |
| 162 | # archive the text build |
| 163 | make text |
Benjamin Peterson | 9203501 | 2008-12-27 16:00:54 +0000 | [diff] [blame] | 164 | cp -pPR build/text dist/python-$(DISTVERSION)-docs-text |
| 165 | tar -C dist -cf dist/python-$(DISTVERSION)-docs-text.tar python-$(DISTVERSION)-docs-text |
| 166 | bzip2 -9 -k dist/python-$(DISTVERSION)-docs-text.tar |
| 167 | (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-text.zip python-$(DISTVERSION)-docs-text) |
| 168 | rm -r dist/python-$(DISTVERSION)-docs-text |
| 169 | rm dist/python-$(DISTVERSION)-docs-text.tar |
Georg Brandl | 5617db8 | 2009-04-27 16:28:57 +0000 | [diff] [blame] | 170 | |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 171 | # archive the A4 latex |
Georg Brandl | 38557f2 | 2010-08-03 12:36:57 +0000 | [diff] [blame] | 172 | rm -rf build/latex |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 173 | make latex PAPER=a4 |
Georg Brandl | 692b3f8 | 2010-07-11 08:33:16 +0000 | [diff] [blame] | 174 | -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 175 | (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) |
Benjamin Peterson | 9203501 | 2008-12-27 16:00:54 +0000 | [diff] [blame] | 176 | cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip |
| 177 | cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2 |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 178 | |
| 179 | # archive the letter latex |
Georg Brandl | 38557f2 | 2010-08-03 12:36:57 +0000 | [diff] [blame] | 180 | rm -rf build/latex |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 181 | make latex PAPER=letter |
Georg Brandl | 692b3f8 | 2010-07-11 08:33:16 +0000 | [diff] [blame] | 182 | -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 183 | (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2) |
Benjamin Peterson | 9203501 | 2008-12-27 16:00:54 +0000 | [diff] [blame] | 184 | cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip |
| 185 | cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2 |
Benjamin Peterson | 9bc9351 | 2008-09-22 22:10:59 +0000 | [diff] [blame] | 186 | |
Georg Brandl | 865bdbf | 2014-03-28 19:48:55 +0100 | [diff] [blame] | 187 | # copy the epub build |
Georg Brandl | 183fe81 | 2011-01-05 11:00:25 +0000 | [diff] [blame] | 188 | rm -rf build/epub |
| 189 | make epub |
Georg Brandl | 865bdbf | 2014-03-28 19:48:55 +0100 | [diff] [blame] | 190 | cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub |
Georg Brandl | 183fe81 | 2011-01-05 11:00:25 +0000 | [diff] [blame] | 191 | |
Miss Islington (bot) | 313f801 | 2019-09-10 07:51:43 -0700 | [diff] [blame] | 192 | # archive the texinfo build |
| 193 | rm -rf build/texinfo |
| 194 | make texinfo |
| 195 | make info --directory=build/texinfo |
| 196 | cp -pPR build/texinfo dist/python-$(DISTVERSION)-docs-texinfo |
| 197 | tar -C dist -cf dist/python-$(DISTVERSION)-docs-texinfo.tar python-$(DISTVERSION)-docs-texinfo |
| 198 | bzip2 -9 -k dist/python-$(DISTVERSION)-docs-texinfo.tar |
| 199 | (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-texinfo.zip python-$(DISTVERSION)-docs-texinfo) |
| 200 | rm -r dist/python-$(DISTVERSION)-docs-texinfo |
| 201 | rm dist/python-$(DISTVERSION)-docs-texinfo.tar |
| 202 | |
Georg Brandl | 45f5337 | 2009-01-03 21:15:20 +0000 | [diff] [blame] | 203 | check: |
Ned Deily | 590665c | 2017-09-07 17:17:53 -0700 | [diff] [blame] | 204 | $(PYTHON) tools/rstlint.py -i tools -i $(VENVDIR) -i README.rst |
R. David Murray | e821cb6 | 2010-03-08 17:48:38 +0000 | [diff] [blame] | 205 | |
| 206 | serve: |
Stéphane Wirtel | 09a9f17 | 2019-03-18 11:47:55 +0100 | [diff] [blame] | 207 | $(PYTHON) ../Tools/scripts/serve.py build/html |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 208 | |
Georg Brandl | 49f4718 | 2010-03-13 13:42:16 +0000 | [diff] [blame] | 209 | # Targets for daily automated doc build |
Nick Coghlan | 7a82f9c | 2017-06-02 23:30:57 +1000 | [diff] [blame] | 210 | # By default, Sphinx only rebuilds pages where the page content has changed. |
| 211 | # This means it doesn't always pick up changes to preferred link targets, etc |
| 212 | # To ensure such changes are picked up, we build the published docs with |
| 213 | # `-E` (to ignore the cached environment) and `-a` (to ignore already existing |
| 214 | # output files) |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 215 | |
| 216 | # for development releases: always build |
| 217 | autobuild-dev: |
Julien | dff9b5f | 2017-08-07 10:27:21 +0200 | [diff] [blame] | 218 | make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A switchers=1' |
Georg Brandl | 44d2429 | 2013-11-24 16:17:54 +0100 | [diff] [blame] | 219 | -make suspicious |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 220 | |
Georg Brandl | 01f47e8 | 2012-10-28 08:09:02 +0100 | [diff] [blame] | 221 | # for quick rebuilds (HTML only) |
Georg Brandl | 4b9e75b | 2016-06-15 08:57:32 +0200 | [diff] [blame] | 222 | autobuild-dev-html: |
Julien | dff9b5f | 2017-08-07 10:27:21 +0200 | [diff] [blame] | 223 | make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A switchers=1' |
Georg Brandl | 01f47e8 | 2012-10-28 08:09:02 +0100 | [diff] [blame] | 224 | |
Benjamin Peterson | efd713b | 2014-09-24 20:22:24 -0400 | [diff] [blame] | 225 | # for stable releases: only build if not in pre-release stage (alpha, beta) |
| 226 | # release candidate downloads are okay, since the stable tree can be in that stage |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 227 | autobuild-stable: |
Benjamin Peterson | efd713b | 2014-09-24 20:22:24 -0400 | [diff] [blame] | 228 | @case $(DISTVERSION) in *[ab]*) \ |
Georg Brandl | 49f4718 | 2010-03-13 13:42:16 +0000 | [diff] [blame] | 229 | echo "Not building; $(DISTVERSION) is not a release version."; \ |
| 230 | exit 1;; \ |
Georg Brandl | fe427fe | 2010-03-13 11:02:07 +0000 | [diff] [blame] | 231 | esac |
| 232 | @make autobuild-dev |
Georg Brandl | 01f47e8 | 2012-10-28 08:09:02 +0100 | [diff] [blame] | 233 | |
Georg Brandl | 4b9e75b | 2016-06-15 08:57:32 +0200 | [diff] [blame] | 234 | autobuild-stable-html: |
| 235 | @case $(DISTVERSION) in *[ab]*) \ |
| 236 | echo "Not building; $(DISTVERSION) is not a release version."; \ |
| 237 | exit 1;; \ |
| 238 | esac |
| 239 | @make autobuild-dev-html |