summaryrefslogtreecommitdiff
path: root/localedata/Makefile
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-05-16 02:14:49 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2015-05-16 02:14:49 -0400
commit6c307927ac5c5c3e15774a1c63c9d8c41f3a8678 (patch)
tree7590de410cf0bf6d8a24dad933273e66145ea64e /localedata/Makefile
parentc3cc2cf35a18474ce76e128861816bab10bec5c1 (diff)
Fail locale installation if localedef fails.
If any locale fails to compile then the installation of locales via `make localedata/install-locales` also fails.
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile4
1 files changed, 2 insertions, 2 deletions
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