This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] localedata/Makefile: Fail install if a locale fails to build.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]