diff options
author | Jim Meyering <jim@meyering.net> | 2012-10-25 18:35:34 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2012-10-25 18:35:34 +0200 |
commit | 74da4c80470bffe3ccfaead598dad36bf64f1b97 (patch) | |
tree | 4ee4959c1703c0936ab0019ca1fc372a22382eca | |
parent | 77179e4abec6ee5dc6b514d592b6de4359edb93a (diff) | |
download | coreutils-74da4c80470bffe3ccfaead598dad36bf64f1b97.tar.xz |
maint: tweak sc_check-I18N-AUTHORS
* cfg.mk (sc_check-I18N-AUTHORS): Remove unnecessary subshell;
add a self-explanatory diagnostic.
-rw-r--r-- | cfg.mk | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -181,13 +181,15 @@ sc_check-AUTHORS: $(all_programs) && diff $(au_actual) $(au_dotdot) \ && rm -f $(au_actual) $(au_dotdot) -# Ensure programs with authors with non ASCII names link with LIBICONV +# Each program with a non-ASCII author name must link with LIBICONV. sc_check-I18N-AUTHORS: - @(cd $(srcdir)/src && \ + @cd $(srcdir)/src && \ for i in $$(git grep -l -w proper_name_utf8 *.c|sed 's/\.c//'); do \ - grep -E "^src_$${i}_LDADD"' .?= .*\$$\(LIBICONV\)' local.mk > \ - /dev/null || { echo FAIL $$i; exit 1; }; \ - done) + grep -E "^src_$${i}_LDADD"' .?= .*\$$\(LIBICONV\)' local.mk \ + > /dev/null \ + || { "echo $(ME): link rules for $$i do not include" \ + '$$(LIBICONV)' 1>&2; exit 1; }; \ + done # Look for lines longer than 80 characters, except omit: # - program-generated long lines in diff headers, |