changeset 19427:80983af366b5

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
author Takumi IINO <trot.thunder@gmail.com>
date Wed, 03 Jul 2013 21:50:20 +0900
parents e43184680461
children c3cdba6e5d7f
files Makefile doc/Makefile mercurial/help/common.txt mercurial/help/hg.1.txt mercurial/help/hgignore.5.txt mercurial/help/hgrc.5.txt
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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=
--- 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