diff options
| -rw-r--r-- | docs/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/Makefile b/docs/Makefile index bdf65e8..59b5b2c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -9,22 +9,23 @@ SOURCEDIR = source BUILDDIR = _build SPHINXINTL ?= sphinx-intl lang ?= zh_CN +ppm ?= uv # Put it first so that "make" without argument is like "make help". help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @$(ppm) run $(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @$(ppm) run $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) # update translation command translate: - @$(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) + @$(ppm) run $(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) # build for debug dev: - sphinx-autobuild source _build/html
\ No newline at end of file + @$(ppm) run sphinx-autobuild source _build/html
\ No newline at end of file |
