doc/Makefile

Sun, 03 Jun 2018 18:04:43 +0200

author
David Douard <david.douard@logilab.fr>
date
Sun, 03 Jun 2018 18:04:43 +0200
changeset 105
89123c2af2fd
parent 92
e3ed554038fa
permissions
-rw-r--r--

[prologix] small fix in the prologix emulator

92
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 # Minimal makefile for Sphinx documentation
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 #
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4 # You can set these variables from the command line.
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 SPHINXOPTS =
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 SPHINXBUILD = sphinx-build
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7 SPHINXPROJ = pygpibtoolkit
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 SOURCEDIR = .
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 BUILDDIR = _build
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 # Put it first so that "make" without argument is like "make help".
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12 help:
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
14
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15 .PHONY: help Makefile
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
17 # Catch-all target: route all unknown targets to Sphinx using the new
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19 %: Makefile
e3ed554038fa convert doc to sphinx
David Douard <david.douard@logilab.fr>
parents:
diff changeset
20 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

mercurial