You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 903 B

12345678910111213141516171819202122232425262728293031323334
  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 = .
  8. BUILDDIR = build
  9. SPHINXAPIDOC = sphinx-apidoc
  10. # Put it first so that "make" without argument is like "make help".
  11. help:
  12. @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  13. .PHONY: help Makefile
  14. # Catch-all target: route all unknown targets to Sphinx using the new
  15. # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
  16. %: Makefile
  17. @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  18. clean:
  19. rm -rf "$(BUILDDIR)"
  20. api:
  21. rm -rf ./source/api/*
  22. @$(SPHINXAPIDOC) -M -o ./lib-api/joint_inference ../lib/sedna/joint_inference
  23. html:
  24. @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  25. all: clean api html