File indexing completed on 2024-04-21 03:40:24

0001 # Minimal makefile for Sphinx documentation
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 #
0004 
0005 # You can set these variables from the command line, and also
0006 # from the environment for the first two.
0007 SPHINXOPTS    ?=
0008 SPHINXBUILD   ?= sphinx-build
0009 SOURCEDIR     = .
0010 BUILDDIR      = build
0011 
0012 # Put it first so that "make" without argument is like "make help".
0013 help:
0014         @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
0015 
0016 .PHONY: help Makefile
0017 
0018 test:
0019         @python3 $(SOURCEDIR)/tests/check_filenames.py
0020 
0021 
0022 # Catch-all target: route all unknown targets to Sphinx using the new
0023 # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
0024 %: Makefile
0025         @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)