1*91f16700Schasinglulu# 2*91f16700Schasinglulu# Copyright (c) 2019-2023, ARM Limited. All rights reserved. 3*91f16700Schasinglulu# 4*91f16700Schasinglulu# SPDX-License-Identifier: BSD-3-Clause 5*91f16700Schasinglulu# 6*91f16700Schasinglulu# Minimal makefile for Sphinx documentation 7*91f16700Schasinglulu# 8*91f16700Schasinglulu 9*91f16700Schasinglulu# You can set these variables from the command line. 10*91f16700SchasingluluSPHINXOPTS = -W 11*91f16700SchasingluluSPHINXBUILD = sphinx-build 12*91f16700SchasingluluSPHINXPROJ = TrustedFirmware-A 13*91f16700SchasingluluSOURCEDIR = . 14*91f16700SchasingluluBUILDDIR = build 15*91f16700Schasinglulu 16*91f16700SchasingluluV ?= 0 17*91f16700Schasingluluifeq ($(V),0) 18*91f16700Schasinglulu Q := @ 19*91f16700Schasingluluelse 20*91f16700Schasinglulu Q := 21*91f16700Schasingluluendif 22*91f16700Schasinglulu 23*91f16700Schasinglulu# Put it first so that "make" without argument is like "make help". 24*91f16700Schasingluluhelp: 25*91f16700Schasinglulu ${Q}$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 26*91f16700Schasinglulu 27*91f16700Schasinglulu.PHONY: help Makefile 28*91f16700Schasinglulu 29*91f16700Schasinglulu# Catch-all target: route all unknown targets to Sphinx using the new 30*91f16700Schasinglulu# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 31*91f16700Schasinglulu%: Makefile 32*91f16700Schasinglulu ${Q}$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 33