2021-08-31 18:23:10 +03:00
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
2021-06-16 00:02:36 +03:00
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
|
|
|
|
# You can set these variables from the command line, and also
|
2021-06-30 01:10:21 +03:00
|
|
|
# from the environment for the first two.
|
2021-06-29 21:42:47 +03:00
|
|
|
SPHINX_BUILD ?= sphinx-build
|
2021-10-17 20:14:26 +03:00
|
|
|
SPHINX_BUILD_OPTS ?= -W -j auto --keep-going
|
2021-06-29 21:42:47 +03:00
|
|
|
SOURCE_DIR = .
|
|
|
|
BUILD_DIR = _build
|
2021-06-16 00:02:36 +03:00
|
|
|
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
|
|
help:
|
2021-06-29 21:42:47 +03:00
|
|
|
@$(SPHINX_BUILD) -M help "$(SOURCE_DIR)" "$(BUILD_DIR)" $(SPHINX_BUILD_OPTS)
|
2021-06-16 00:02:36 +03:00
|
|
|
|
2021-06-30 01:10:21 +03:00
|
|
|
.PHONY: help Makefile
|
2021-06-29 21:42:47 +03:00
|
|
|
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new "make mode" option.
|
2021-06-16 00:02:36 +03:00
|
|
|
%: Makefile
|
2021-06-29 21:42:47 +03:00
|
|
|
@$(SPHINX_BUILD) -M $@ "$(SOURCE_DIR)" "$(BUILD_DIR)" $(SPHINX_BUILD_OPTS)
|