Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
annotate docs/make.bat @ 649:4ee9a8042f4a
common.subr: _get_jail_from_path() now just returns when the jail is dying.
But it prints the name of the jail if it is yet dying.
Real error reporting must not consistently be done in the caller.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 27 Sep 2024 21:21:34 +0200 |
| parents | 86d8929e4747 |
| children |
| rev | line source |
|---|---|
|
279
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 @ECHO OFF |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 pushd %~dp0 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 REM Command file for Sphinx documentation |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 if "%SPHINXBUILD%" == "" ( |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 set SPHINXBUILD=sphinx-build |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 ) |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 set SOURCEDIR=. |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 set BUILDDIR=_build |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 %SPHINXBUILD% >NUL 2>NUL |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 if errorlevel 9009 ( |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 echo. |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
16 echo.The 'sphinx-build' command was not found. Make sure you have Sphinx |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
17 echo.installed, then set the SPHINXBUILD environment variable to point |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
18 echo.to the full path of the 'sphinx-build' executable. Alternatively you |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
19 echo.may add the Sphinx directory to PATH. |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
20 echo. |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
21 echo.If you don't have Sphinx installed, grab it from |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
22 echo.https://www.sphinx-doc.org/ |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
23 exit /b 1 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
24 ) |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
25 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
26 if "%1" == "" goto help |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
27 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
28 %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
29 goto end |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
30 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
31 :help |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
32 %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
33 |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
34 :end |
|
86d8929e4747
Add the Sphinx documentation sources as generated by sphinx-quickstart
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
35 popd |
