* Makefile.maint (po-check): This rule didn't detect the new use
authorJim Meyering <jim@meyering.net>
Thu, 19 Oct 2006 08:51:27 +0000 (08:51 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 19 Oct 2006 08:51:27 +0000 (08:51 +0000)
of "gettext" (as opposed to the use of "_" everywhere else) in
lib/xstrtol.h.  Adjust the grep regexp so that now it does.

ChangeLog
Makefile.maint

index dbee5a58c49c39e67bd893f47a79cb595d74937f..8c53ca0c1ea8ce169e2eb558d6269766a39281f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-19  Jim Meyering  <jim@meyering.net>
+
+       * 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  <eggert@cs.ucla.edu>
 
        * src/copy.c (copy_reg): Rewrite slightly to avoid duplicate code
index 528c4e70fd913f1eb07277e6119391892532cc6c..4bf296c05d39e257b6fd916d03e1520909663b67 100644 (file)
@@ -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