xref: /third_party/astc-encoder/Test/Makefile (revision cc1dc7a3)
1cc1dc7a3Sopenharmony_ci# Minimal makefile for Sphinx documentation
2cc1dc7a3Sopenharmony_ci#
3cc1dc7a3Sopenharmony_ci
4cc1dc7a3Sopenharmony_ci# You can set these variables from the command line, and also
5cc1dc7a3Sopenharmony_ci# from the environment for the first two.
6cc1dc7a3Sopenharmony_ciSPHINXOPTS    ?=
7cc1dc7a3Sopenharmony_ciSPHINXBUILD   ?= sphinx-build
8cc1dc7a3Sopenharmony_ciSOURCEDIR     = DocSource
9cc1dc7a3Sopenharmony_ciBUILDDIR      = DocOut
10cc1dc7a3Sopenharmony_ci
11cc1dc7a3Sopenharmony_ci# Put it first so that "make" without argument is like "make help".
12cc1dc7a3Sopenharmony_cihelp:
13cc1dc7a3Sopenharmony_ci	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14cc1dc7a3Sopenharmony_ci
15cc1dc7a3Sopenharmony_ci.PHONY: help Makefile
16cc1dc7a3Sopenharmony_ci
17cc1dc7a3Sopenharmony_ci# Catch-all target: route all unknown targets to Sphinx using the new
18cc1dc7a3Sopenharmony_ci# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
19cc1dc7a3Sopenharmony_ci%: Makefile
20cc1dc7a3Sopenharmony_ci	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21