Patchwork [3/6] make: Always set LC_ALL=C for makeinfo

login
register
mail settings
Submitter Stefan Hajnoczi
Date April 13, 2012, 9:39 a.m.
Message ID <1334309956-31827-4-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/152272/
State New
Headers show

Comments

Stefan Hajnoczi - April 13, 2012, 9:39 a.m.
From: Stefan Weil <sw@weilnetz.de>

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>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/Makefile b/Makefile
index a78f53d..e0fe680 100644
--- a/Makefile
+++ b/Makefile
@@ -328,7 +328,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