Fail locale installation if localedef fails.

If any locale fails to compile then the installation
of locales via `make localedata/install-locales`
also fails.
This commit is contained in:
Carlos O'Donell 2015-05-16 02:14:49 -04:00
parent c3cc2cf35a
commit 6c307927ac
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,8 @@
2015-05-12 Marko Myllynen <myllynen@redhat.com>
2015-05-16 Carlos O'Donell <carlos@redhat.com>
* Makefile (INSTALL-SUPPORTED-LOCALES): Fail if localedef fails.
2015-05-16 Marko Myllynen <myllynen@redhat.com>
* locales/bo_CN (LC_NAME): Fix compilation.
* locales/bo_IN (LC_NAME): Likewise.

View File

@ -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