2
0

Makefile 638 B

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