bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: fix "make po-check" failure


From: Jim Meyering
Subject: FYI: fix "make po-check" failure
Date: Thu, 19 Oct 2006 10:52:47 +0200

2006-10-19  Jim Meyering  <address@hidden>

        * 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.

Index: Makefile.maint
===================================================================
RCS file: /fetish/cu/Makefile.maint,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -p -u -r1.256 -r1.257
--- Makefile.maint      14 Oct 2006 12:17:24 -0000      1.256
+++ Makefile.maint      19 Oct 2006 08:51:27 -0000      1.257
@@ -399,7 +399,8 @@ po-check:
            esac;                                                       \
            files="$$files $$file";                                     \
          done;                                                         \
-         grep -E -l '\bN?_\([^)"]*("|$$)' $$files | sort -u > address@hidden;  
\
+         grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files          \
+           | sort -u > address@hidden;                                         
\
          diff -u address@hidden address@hidden || exit 1;                      
                \
          rm -f address@hidden address@hidden;                                  
        \
        fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]