File: 0002-Makefile.am-use-C.UTF-8

package info (click to toggle)
ganeti 2.16.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,660 kB
  • sloc: python: 105,115; haskell: 43,768; sh: 3,896; makefile: 2,763
file content (32 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Apollon Oikonomopoulos <apoikos@debian.org>
Date: Tue, 21 Apr 2015 18:29:47 +0300
Subject: Makefile.am: use C.UTF-8

There is no need to use en_US.UTF-8 with newer libc versions. Use
C.UTF-8 to avoid an extra B-D on locales-all.
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c365e94..0576652 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2264,7 +2264,7 @@ man/%.7.in man/%.8.in man/%.1.in: man/%.gen man/footer.rst
 	trap 'echo auto-removing $@; rm $@' EXIT; \
 	$(PANDOC) -s -f rst -t man $< man/footer.rst | \
 	  sed -e 's/\\@/@/g' > $@; \
-	if test -n "$(MAN_HAS_WARNINGS)"; then LC_ALL=en_US.UTF-8 $(CHECK_MAN_WARNINGS) $@; fi; \
+	if test -n "$(MAN_HAS_WARNINGS)"; then LC_ALL=C.UTF-8 $(CHECK_MAN_WARNINGS) $@; fi; \
 	$(CHECK_MAN_DASHES) $@; \
 	trap - EXIT
 
@@ -2917,7 +2917,7 @@ $(APIDOC_HS_DIR)/index.html: $(HS_LIBTESTBUILT_SRCS) Makefile
 	  $(HSCOLOUR) -print-css > $$i/hscolour.css; \
 	done
 	set -e ; \
-	export LC_ALL=en_US.UTF-8; \
+	export LC_ALL=C.UTF-8; \
 	OPTGHC="--optghc=-isrc --optghc=-itest/hs"; \
 	OPTGHC="$$OPTGHC --optghc=-optP-include --optghc=-optP$(HASKELL_PACKAGE_VERSIONS_FILE)"; \
 	for file in $(HS_LIBTESTBUILT_SRCS); do \