зеркало из https://github.com/microsoft/torchgeo.git
22 строки
710 B
Makefile
22 строки
710 B
Makefile
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
# You can set these variables from the command line, and also
|
|
# from the environment for the first two.
|
|
SPHINX_BUILD ?= sphinx-build
|
|
SPHINX_BUILD_OPTS ?= -W -j auto --keep-going
|
|
SOURCE_DIR = .
|
|
BUILD_DIR = _build
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
help:
|
|
@$(SPHINX_BUILD) -M help "$(SOURCE_DIR)" "$(BUILD_DIR)" $(SPHINX_BUILD_OPTS)
|
|
|
|
.PHONY: help Makefile
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new "make mode" option.
|
|
%: Makefile
|
|
@$(SPHINX_BUILD) -M $@ "$(SOURCE_DIR)" "$(BUILD_DIR)" $(SPHINX_BUILD_OPTS)
|