# HG changeset patch # User Takumi IINO # Date 1372855820 -32400 # Node ID 80983af366b5e22cb12c9be5da9b117b4b4acf43 # Parent e4318468046154567b252cea773dc1e5553a89a1 doc: make i18n man and html Allow overwrite LANGUAGE and LC_ALL make variables, for make i18n man and html. After this patch, we can make i18n man and html by following command: $ make clean all LANGUAGE=ja diff -r e43184680461 -r 80983af366b5 Makefile --- a/Makefile Wed Jul 03 21:49:43 2013 +0900 +++ b/Makefile Wed Jul 03 21:50:20 2013 +0900 @@ -10,6 +10,8 @@ PURE= PYFILES:=$(shell find mercurial hgext doc -name '*.py') DOCFILES=mercurial/help/*.txt +export LANGUAGE=C +export LC_ALL=C # Set this to e.g. "mingw32" to use a non-default compiler. COMPILER= diff -r e43184680461 -r 80983af366b5 doc/Makefile --- a/doc/Makefile Wed Jul 03 21:49:43 2013 +0900 +++ b/doc/Makefile Wed Jul 03 21:50:20 2013 +0900 @@ -9,8 +9,7 @@ PYTHON=python RSTARGS= -export LANGUAGE=C -export LC_ALL=C +export HGENCODING=UTF-8 all: man html