[COMMITTED] localedata/Makefile: Fail install if a locale fails to build.
Carlos O'Donell
carlos@redhat.com
Mon May 18 02:23:00 GMT 2015
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.
More information about the Libc-alpha
mailing list