doc: make i18n man and html
authorTakumi IINO <trot.thunder@gmail.com>
Wed, 03 Jul 2013 21:50:20 +0900
changeset 19427 80983af366b5
parent 19426 e43184680461
child 19428 c3cdba6e5d7f
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
Makefile
doc/Makefile
mercurial/help/common.txt
mercurial/help/hg.1.txt
mercurial/help/hgignore.5.txt
mercurial/help/hgrc.5.txt
--- 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