xref: /aosp_15_r20/external/executorch/docs/Makefile (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1# Minimal makefile for Sphinx documentation
2#
3
4# You can set these variables from the command line.
5# SPHINXOPTS    = -WT --keep-going TODO(T165752164) fix sphinx warnings around preprocess macros in cpp like ET_DEPRECATED
6SPHINXBUILD   = sphinx-build
7SPHINXPROJ    = ExecuTorch
8SOURCEDIR     = source
9BUILDDIR      = _build
10
11# Put it first so that "make" without argument is like "make help".
12
13help:
14	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
15
16.PHONY: help Makefile
17
18%: Makefile
19	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20
21#html:
22#	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
23