From 6c307927ac5c5c3e15774a1c63c9d8c41f3a8678 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Sat, 16 May 2015 02:14:49 -0400 Subject: Fail locale installation if localedef fails. If any locale fails to compile then the installation of locales via `make localedata/install-locales` also fails. --- localedata/ChangeLog | 6 +++++- localedata/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 8b7a4140c3..1f2577de3e 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,4 +1,8 @@ -2015-05-12 Marko Myllynen +2015-05-16 Carlos O'Donell + + * Makefile (INSTALL-SUPPORTED-LOCALES): Fail if localedef fails. + +2015-05-16 Marko Myllynen * locales/bo_CN (LC_NAME): Fix compilation. * locales/bo_IN (LC_NAME): Likewise. diff --git a/localedata/Makefile b/localedata/Makefile index 03ec98c0e0..305c87f9d3 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 -- cgit v1.2.1