1*54fd6939SJiyong Park# 2*54fd6939SJiyong Park# Copyright (c) 2019-2020, ARM Limited. All rights reserved. 3*54fd6939SJiyong Park# 4*54fd6939SJiyong Park# SPDX-License-Identifier: BSD-3-Clause 5*54fd6939SJiyong Park# 6*54fd6939SJiyong Park# Minimal makefile for Sphinx documentation 7*54fd6939SJiyong Park# 8*54fd6939SJiyong Park 9*54fd6939SJiyong Park# You can set these variables from the command line. 10*54fd6939SJiyong ParkSPHINXOPTS = -W 11*54fd6939SJiyong ParkSPHINXBUILD = sphinx-build 12*54fd6939SJiyong ParkSPHINXPROJ = TrustedFirmware-A 13*54fd6939SJiyong ParkSOURCEDIR = . 14*54fd6939SJiyong ParkBUILDDIR = build 15*54fd6939SJiyong Park 16*54fd6939SJiyong Park# Put it first so that "make" without argument is like "make help". 17*54fd6939SJiyong Parkhelp: 18*54fd6939SJiyong Park @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 19*54fd6939SJiyong Park 20*54fd6939SJiyong Park.PHONY: help Makefile 21*54fd6939SJiyong Park 22*54fd6939SJiyong Park# Catch-all target: route all unknown targets to Sphinx using the new 23*54fd6939SJiyong Park# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 24*54fd6939SJiyong Park%: Makefile 25*54fd6939SJiyong Park @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 26