summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2020-09-25 15:04:14 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-09-25 15:04:14 +0000
commitda5f4e36b2bb34f4df3b7ddb3f5424005b8f5bb4 (patch)
tree08692f8cbc1218bd33a3e31da6c82d0d443050a9
parent4f4943ad9d468e441f537bc5c963c394f52bcd22 (diff)
parentc654018adeb890ee52fb0bd4d44d6e0c060e6160 (diff)
Merge "docs/Makefile: use conditional assignment on sphinx variables"
-rw-r--r--docs/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/Makefile b/docs/Makefile
index a7083fb..5691e6c 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019, ARM Limited. All rights reserved.
+# Copyright (c) 2019-2020, ARM Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -7,11 +7,11 @@
#
# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-SPHINXPROJ = TrustedFirmware-A Tests
-SOURCEDIR = .
-BUILDDIR = build
+SPHINXOPTS ?=
+SPHINXBUILD ?= sphinx-build
+SPHINXPROJ ?= TrustedFirmware-A Tests
+SOURCEDIR ?= $(CURDIR)
+BUILDDIR ?= build
# Put it first so that "make" without argument is like "make help".
help: