This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] localedata/Makefile: Fail install if a locale fails to build.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>, Marko Myllynen <myllynen at redhat dot com>
- Date: Sat, 16 May 2015 02:14:38 -0400
- Subject: [COMMITTED] localedata/Makefile: Fail install if a locale fails to build.
- Authentication-results: sourceware.org; auth=none
Fail the installation of the locales if a locale fails to build.
I expect everyone is in agreement that if a locale is bad it should
either be removed from the SUPPORTED list or be made to compile.
Checked in as obvious.
Thanks to Marko who fixed the bo_* locale failures which means this
passes now without failure.
2015-05-16 Carlos O'Donell <carlos@redhat.com>
* Makefile (INSTALL-SUPPORTED-LOCALES): Fail if localedef fails.
diff --git a/localedata/Makefile b/localedata/Makefile
index 03ec98c..305c87f 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -212,8 +212,8 @@ $(INSTALL-SUPPORTED-LOCALES): install-locales-dir
input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \
$(LOCALEDEF) --alias-file=../intl/locale.alias \
-i locales/$$input -c -f charmaps/$$charset \
- $(addprefix --prefix=,$(install_root)) $$locale; \
- echo ' done'; \
+ $(addprefix --prefix=,$(install_root)) $$locale \
+ && echo ' done'; \
tst-setlocale-ENV = LC_ALL=ja_JP.EUC-JP
tst-wctype-ENV = LC_ALL=ja_JP.EUC-JP
---
Cheers,
Carlos.