Makefile 772 B

1234567891011121314151617181920212223
  1. # Minimal makefile for Sphinx documentation
  2. #
  3. # You can set these variables from the command line.
  4. SPHINXOPTS =
  5. # Workaround to prevent lmdb from throwing an exception when loaded from Sphinx
  6. # Does not work with readthedocs unfortunately.
  7. #SPHINXBUILD = python -m sphinx
  8. SPHINXBUILD = sphinx-build
  9. SPHINXPROJ = lakesuperior
  10. SOURCEDIR = .
  11. BUILDDIR = _build
  12. # Put it first so that "make" without argument is like "make help".
  13. help:
  14. @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  15. .PHONY: help Makefile
  16. # Catch-all target: route all unknown targets to Sphinx using the new
  17. # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
  18. %: Makefile
  19. @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)