]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fail locale installation if localedef fails.
authorCarlos O'Donell <carlos@systemhalted.org>
Sat, 16 May 2015 06:14:49 +0000 (02:14 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Sat, 16 May 2015 06:14:49 +0000 (02:14 -0400)
If any locale fails to compile then the installation
of locales via `make localedata/install-locales`
also fails.

localedata/ChangeLog
localedata/Makefile

index 8b7a4140c38adc4203a493c78819692126c29d42..1f2577de3e3ccc3509dec885e06d9a0c2453c8fe 100644 (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.
index 03ec98c0e00175a825e9ce7a93cc09cc5861ba6a..305c87f9d35562af154d1919ded977da3ed5ffb8 100644 (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