aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 51e3ffa..2c15a7b 100644
--- a/Makefile
+++ b/Makefile
@@ -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):