Makefile 600 B

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