blob: c7152183fb076849202cad409c0a9cfadbd3ee09 [file] [log] [blame]
manarabdelatya1553af2021-05-07 19:47:19 +02001
2# SPDX-FileCopyrightText: 2020 Efabless Corporation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16# SPDX-License-Identifier: Apache-2.0
17# Minimal makefile for Sphinx documentation
18#
19
20# You can set these variables from the command line, and also
21# from the environment for the first two.
22SPHINXOPTS ?=
23SPHINXBUILD ?= sphinx-build
24SOURCEDIR = source
25BUILDDIR = build
26
27# Put it first so that "make" without argument is like "make help".
28help:
29 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
30
31.PHONY: help Makefile
32
33# Catch-all target: route all unknown targets to Sphinx using the new
34# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
35%: Makefile
36 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
37