Last change
on this file since 2 was
2,
checked in by pinsard, 9 years ago
|
add tools and procedure for checking typo
|
File size:
1.1 KB
|
Line | |
---|
1 | # Minimal makefile for Sphinx documentation |
---|
2 | # |
---|
3 | |
---|
4 | # You can set these variables from the command line. |
---|
5 | SPHINXOPTS = |
---|
6 | SPHINXBUILD = sphinx-build |
---|
7 | SPHINXPROJ = igcmg_doc |
---|
8 | SOURCEDIR = source |
---|
9 | BUILDDIR = _build |
---|
10 | |
---|
11 | # User-friendly check for sphinx-build. |
---|
12 | ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) |
---|
13 | $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) |
---|
14 | endif |
---|
15 | |
---|
16 | # Has to be explicit, otherwise we don't get "make" without targets right. |
---|
17 | help: |
---|
18 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
---|
19 | |
---|
20 | # You can add custom targets here. |
---|
21 | |
---|
22 | # Catch-all target: route all unknown targets to Sphinx using the new |
---|
23 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). |
---|
24 | %: |
---|
25 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
---|
Note: See
TracBrowser
for help on using the repository browser.