Patchwork [9,of,9,STABLE?,V2] doc: make i18n man and html

login
register
mail settings
Submitter Takumi IINO
Date May 15, 2013, 7:14 a.m.
Message ID <41096887697ad25e7668.1368602066@iino-no-MacBook-Air.local>
Download mbox | patch
Permalink /patch/1650/
State Superseded, archived
Commit 80983af366b5e22cb12c9be5da9b117b4b4acf43
Headers show

Comments

Takumi IINO - May 15, 2013, 7:14 a.m.
# HG changeset patch
# User Takumi IINO <trot.thunder@gmail.com>
# Date 1368600374 -32400
#      Wed May 15 15:46:14 2013 +0900
# Branch stable
# Node ID 41096887697ad25e7668682a891097a9f05ddf0c
# Parent  766ef8cefc2f7c9cf062f75a90f84cc16e7a3705
doc: make i18n man and html

Stop overwrite LANGUAGE and LC_ALL, for make i18n man and html.
After this patch, we can make i18n man and html by following command:

  $ LANGUAGE=ja make clean all
Matt Mackall - May 23, 2013, 10:47 p.m.
On Wed, 2013-05-15 at 16:14 +0900, Takumi IINO wrote:
> # HG changeset patch
> # User Takumi IINO <trot.thunder@gmail.com>
> # Date 1368600374 -32400
> #      Wed May 15 15:46:14 2013 +0900
> # Branch stable
> # Node ID 41096887697ad25e7668682a891097a9f05ddf0c
> # Parent  766ef8cefc2f7c9cf062f75a90f84cc16e7a3705
> doc: make i18n man and html
> 
> Stop overwrite LANGUAGE and LC_ALL, for make i18n man and html.
> After this patch, we can make i18n man and html by following command:

I'm a little worried this will break things for existing packagers who
happen to have these variables set.

Patch

diff --git a/doc/Makefile b/doc/Makefile
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -9,8 +9,8 @@ 
 PYTHON=python
 RSTARGS=
 
-export LANGUAGE=C
-export LC_ALL=C
+export LANGUAGE
+export LC_ALL
 
 all: man html