Patchwork Always set LC_ALL=C for makeinfo

login
register
mail settings
Submitter Stefan Weil
Date March 27, 2012, 5:15 p.m.
Message ID <1332868527-11909-1-git-send-email-sw@weilnetz.de>
Download mbox | patch
Permalink /patch/149002/
State Accepted
Headers show

Comments

Stefan Weil - March 27, 2012, 5:15 p.m.
Otherwise the generated file qemu-doc.html will contain "Anhang"
instead of "Appendix" with a German locale (de_DE.UTF-8).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Stefan Weil - April 11, 2012, 7:30 p.m.
Am 27.03.2012 19:15, schrieb Stefan Weil:
> Otherwise the generated file qemu-doc.html will contain "Anhang"
> instead of "Appendix" with a German locale (de_DE.UTF-8).
>
> Signed-off-by: Stefan Weil<sw@weilnetz.de>
> ---
>   Makefile |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index d8e1f36..b48c019 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -327,7 +327,7 @@ TEXIFLAG=$(if $(V),,--quiet)
>   	$(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<,"  GEN   $@")
>
>   %.html: %.texi
> -	$(call quiet-command,$(MAKEINFO) $(MAKEINFOFLAGS) --html $<  -o $@, \
> +	$(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --html $<  -o $@, \
>   	"  GEN   $@")
>
>   %.info: %.texi
>    

Ping? Please apply this patch to the trivial patches tree.

Thanks,
Stefan
Stefan Hajnoczi - April 12, 2012, 8:52 a.m.
On Wed, Apr 11, 2012 at 09:30:13PM +0200, Stefan Weil wrote:
> Am 27.03.2012 19:15, schrieb Stefan Weil:
> >Otherwise the generated file qemu-doc.html will contain "Anhang"
> >instead of "Appendix" with a German locale (de_DE.UTF-8).
> >
> >Signed-off-by: Stefan Weil<sw@weilnetz.de>
> >---
> >  Makefile |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> >diff --git a/Makefile b/Makefile
> >index d8e1f36..b48c019 100644
> >--- a/Makefile
> >+++ b/Makefile
> >@@ -327,7 +327,7 @@ TEXIFLAG=$(if $(V),,--quiet)
> >  	$(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<,"  GEN   $@")
> >
> >  %.html: %.texi
> >-	$(call quiet-command,$(MAKEINFO) $(MAKEINFOFLAGS) --html $<  -o $@, \
> >+	$(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --html $<  -o $@, \
> >  	"  GEN   $@")
> >
> >  %.info: %.texi
> 
> Ping? Please apply this patch to the trivial patches tree.

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan

Patch

diff --git a/Makefile b/Makefile
index d8e1f36..b48c019 100644
--- a/Makefile
+++ b/Makefile
@@ -327,7 +327,7 @@  TEXIFLAG=$(if $(V),,--quiet)
 	$(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<,"  GEN   $@")
 
 %.html: %.texi
-	$(call quiet-command,$(MAKEINFO) $(MAKEINFOFLAGS) --html $< -o $@, \
+	$(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --html $< -o $@, \
 	"  GEN   $@")
 
 %.info: %.texi