Makefile 596 B

12345678910111213141516171819
  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. # Put it first so that "make" without argument is like "make help".
  8. help:
  9. @$(SPHINXBUILD) -M help
  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 html "zh" "output/zh" $(SPHINXOPTS) $(O)
  15. @$(SPHINXBUILD) -M html "en" "output/en" $(SPHINXOPTS) $(O)