Makefile 694 B

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