Mercurial > jouvence
annotate docs/Makefile @ 35:6fb4d60b1e23 default tip
Added tag 0.4.0 for changeset 093bf35461ba
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 17 Jan 2017 09:18:54 -0800 |
parents | 9ae14e9615e6 |
children |
rev | line source |
---|---|
31
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 # Minimal makefile for Sphinx documentation |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 # |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 # You can set these variables from the command line. |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 SPHINXOPTS = |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 SPHINXBUILD = sphinx-build |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 SPHINXPROJ = Jouvence |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 SOURCEDIR = . |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 BUILDDIR = _build |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 # Put it first so that "make" without argument is like "make help". |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 help: |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 .PHONY: help Makefile |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
17 # Catch-all target: route all unknown targets to Sphinx using the new |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
18 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
19 %: Makefile |
9ae14e9615e6
docs: Add Sphynx documentation and code docstrings.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
20 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |