github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/docs/Makefile (about)

     1  # Copyright (c) 2015-2021, NVIDIA CORPORATION.
     2  # SPDX-License-Identifier: Apache-2.0
     3  
     4  # Minimal makefile for Sphinx documentation
     5  #
     6  
     7  # You can set these variables from the command line.
     8  SPHINXOPTS    = -W
     9  SPHINXBUILD   = sphinx-build
    10  SPHINXPROJ    = ProxyFS
    11  SOURCEDIR     = source
    12  BUILDDIR      = build
    13  
    14  # Put it first so that "make" without argument is like "make help".
    15  help:
    16  	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
    17  
    18  .PHONY: help Makefile
    19  
    20  # Catch-all target: route all unknown targets to Sphinx using the new
    21  # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
    22  %: Makefile
    23  	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)