]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(sc_unmarked_diagnostics): Search only cvs-controlled files.
authorJim Meyering <jim@meyering.net>
Sun, 2 Oct 2005 06:29:26 +0000 (06:29 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 2 Oct 2005 06:29:26 +0000 (06:29 +0000)
Makefile.maint

index 7c3e88f93f0e4ad0e261c7d1613442de54f86e54..2d757c4230085571c46021a2ba81729130a7d590 100644 (file)
@@ -257,8 +257,10 @@ sc_trailing_blank:
 # Look for diagnostics that aren't marked for translation.
 # This won't find any for which error's format string is on a separate line.
 sc_unmarked_diagnostics:
-       @grep -E                                                        \
-           '\<error \([^"]*"[^"]*[a-z]{3}' $(srcdir)/{lib,src}/*.c     \
+       @( $(CVS_LIST) ) > /dev/null 2>&1 || : &&                       \
+         grep -E                                                       \
+           '\<error \([^"]*"[^"]*[a-z]{3}'                             \
+            $$($(CVS_LIST) | grep -vEf .x-$@ )                         \
          | grep -v '_(' &&                                             \
          { echo '$(ME): found unmarked diagnostic(s)' 1>&2;            \
            exit 1; } || :