diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-03-23 15:58:43 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2022-03-23 15:58:43 +0100 |
commit | 8b9b1850aff9c5ce7f936d50608c6e972184b624 (patch) | |
tree | f5b2e763fe57c0f4c14242ff21ac58a5533c3a7b /Makefile | |
parent | b0adc08f05f25d644c645d1e7fb46cf6332bfc0a (diff) | |
download | club1-docs-8b9b1850aff9c5ce7f936d50608c6e972184b624.tar.gz club1-docs-8b9b1850aff9c5ce7f936d50608c6e972184b624.zip |
prepare for gettext translations
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,12 +8,16 @@ SPHINXBUILD ?= sphinx-build SPHINXCMDS = clean html latexpdf man SOURCEDIR = . BUILDDIR = _build +LOCALES = en # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -.PHONY: help Makefile $(SPHINXCMDS) +.PHONY: help locales Makefile $(SPHINXCMDS) + +locales: gettext + @sphinx-intl update -p $(BUILDDIR)/gettext $(LOCALES:%=-l %) # Explicit Sphinx commands for autocompletion. $(SPHINXCMDS): |