Makefile 558 B

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