Paul Beesley | 653279b | 2019-01-23 15:39:39 +0000 | [diff] [blame] | 1 | # |
Sandrine Bailleux | 8b815a4 | 2020-04-17 14:19:20 +0200 | [diff] [blame] | 2 | # Copyright (c) 2019-2020, ARM Limited. All rights reserved. |
Paul Beesley | 653279b | 2019-01-23 15:39:39 +0000 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | # Minimal makefile for Sphinx documentation |
| 7 | # |
| 8 | |
| 9 | # You can set these variables from the command line. |
Sandrine Bailleux | 8b815a4 | 2020-04-17 14:19:20 +0200 | [diff] [blame] | 10 | SPHINXOPTS = -W |
Paul Beesley | 653279b | 2019-01-23 15:39:39 +0000 | [diff] [blame] | 11 | SPHINXBUILD = sphinx-build |
| 12 | SPHINXPROJ = TrustedFirmware-A |
| 13 | SOURCEDIR = . |
| 14 | BUILDDIR = build |
| 15 | |
| 16 | # Put it first so that "make" without argument is like "make help". |
| 17 | help: |
| 18 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
| 19 | |
| 20 | .PHONY: help Makefile |
| 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 | %: Makefile |
| 25 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |