github.com/containers/podman/v5@v5.1.0-rc1/docs/Makefile (about)

     1  # Minimal makefile for Sphinx documentation
     2  #
     3  
     4  # You can set these variables from the command line, and also
     5  # from the environment for the first two.
     6  SPHINXOPTS    ?=
     7  SPHINXBUILD   ?= sphinx-build
     8  SOURCEDIR     = source
     9  BUILDDIR      = build
    10  RM            ?= rm
    11  
    12  # Put it first so that "make" without argument is like "make help".
    13  help:
    14  	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
    15  
    16  clean:
    17  	$(RM) -fr build
    18  	cd source/markdown && $(RM) -f $$(<.gitignore)
    19  
    20  .PHONY: help Makefile
    21  
    22  # Catch-all target: route all unknown targets to Sphinx using the new
    23  # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
    24  %: Makefile
    25  	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)