Skip to contentSkip to conversation

Always set LC_ALL=C for makeinfo

PATCH Applied Stefan Weil 2 participants 3 messages Mar 27, 2012 – Apr 12, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Always set LC_ALL=C for makeinfo

Otherwise the generated file qemu-doc.html will contain "Anhang" instead of "Appendix" with a German locale (de_DE.UTF-8).

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index d8e1f36..b48c019 100644
@@ -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
Signature · 1 line
1.7.9
#1 lore raw

Am 27.03.2012 19:15, schrieb Stefan Weil:

Quoted 14 lines

Otherwise the generated file qemu-doc.html will contain "Anhang" instead of "Appendix" with a German locale (de_DE.UTF-8).

---
  Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +0 -0
index d8e1f36..b48c019 100644

Makefile TEXIFLAG=$(if $(V),,--quiet) · line 333

Quoted 8 lines
Makefile +1 -1
@@ -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

#2 lore raw
Quoted 16 lines · Stefan Weil

Am 27.03.2012 19:15, schrieb Stefan Weil:

Quoted 15 lines

Otherwise the generated file qemu-doc.html will contain "Anhang" instead of "Appendix" with a German locale (de_DE.UTF-8).

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +0 -0
index d8e1f36..b48c019 100644
@@ -327,7 +327,7 @@ TEXIFLAG=$(if $(V),,--quiet)
 	$(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<,"  GEN   $@")
 
Quoted 8 lines

Makefile TEXIFLAG=$(if $(V),,--quiet) · line 333

Quoted 6 lines
Makefile +1 -1
 %.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