dockonsurf / docs / Makefile @ master
Historique | Voir | Annoter | Télécharger (638 octet)
| 1 | 4fd2e6f0 | Carles Martí | # Minimal makefile for Sphinx documentation |
|---|---|---|---|
| 2 | 4fd2e6f0 | Carles Martí | # |
| 3 | 4fd2e6f0 | Carles Martí | |
| 4 | 4fd2e6f0 | Carles Martí | # You can set these variables from the command line, and also |
| 5 | 4fd2e6f0 | Carles Martí | # from the environment for the first two. |
| 6 | 4fd2e6f0 | Carles Martí | SPHINXOPTS ?= |
| 7 | 4fd2e6f0 | Carles Martí | SPHINXBUILD ?= sphinx-build |
| 8 | 4fd2e6f0 | Carles Martí | SOURCEDIR = source |
| 9 | 4fd2e6f0 | Carles Martí | BUILDDIR = build |
| 10 | 4fd2e6f0 | Carles Martí | |
| 11 | 4fd2e6f0 | Carles Martí | # Put it first so that "make" without argument is like "make help". |
| 12 | 4fd2e6f0 | Carles Martí | help: |
| 13 | 4fd2e6f0 | Carles Martí | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
| 14 | 4fd2e6f0 | Carles Martí | |
| 15 | 4fd2e6f0 | Carles Martí | .PHONY: help Makefile |
| 16 | 4fd2e6f0 | Carles Martí | |
| 17 | 4fd2e6f0 | Carles Martí | # Catch-all target: route all unknown targets to Sphinx using the new |
| 18 | 4fd2e6f0 | Carles Martí | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). |
| 19 | 4fd2e6f0 | Carles Martí | %: Makefile |
| 20 | 4fd2e6f0 | Carles Martí | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |