From: Jim Meyering Date: Thu, 19 Oct 2006 08:51:27 +0000 (+0000) Subject: * Makefile.maint (po-check): This rule didn't detect the new use X-Git-Tag: COREUTILS-6_4~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76a7aea9b62e97399b1ca28b61092c0ce22fed85;p=platform%2Fupstream%2Fcoreutils.git * Makefile.maint (po-check): This rule didn't detect the new use of "gettext" (as opposed to the use of "_" everywhere else) in lib/xstrtol.h. Adjust the grep regexp so that now it does. --- diff --git a/ChangeLog b/ChangeLog index dbee5a58c..8c53ca0c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-19 Jim Meyering + + * Makefile.maint (po-check): This rule didn't detect the new use + of "gettext" (as opposed to the use of "_" everywhere else) in + lib/xstrtol.h. Adjust the grep regexp so that now it does. + 2006-10-18 Paul Eggert * src/copy.c (copy_reg): Rewrite slightly to avoid duplicate code diff --git a/Makefile.maint b/Makefile.maint index 528c4e70f..4bf296c05 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -399,7 +399,8 @@ po-check: esac; \ files="$$files $$file"; \ done; \ - grep -E -l '\bN?_\([^)"]*("|$$)' $$files | sort -u > $@-2; \ + grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files \ + | sort -u > $@-2; \ diff -u $@-1 $@-2 || exit 1; \ rm -f $@-1 $@-2; \ fi