diff options
author | Jim Meyering <jim@meyering.net> | 2005-10-02 06:29:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-10-02 06:29:26 +0000 |
commit | b0dcbf34a5a3c914302b32740540fc8dd11f4705 (patch) | |
tree | c2e43ceead7f4ef0d511b8c99eff7a687392620b | |
parent | 286411fd7420b7e12e0ac8d3320324a6b496a2a4 (diff) | |
download | coreutils-b0dcbf34a5a3c914302b32740540fc8dd11f4705.tar.xz |
(sc_unmarked_diagnostics): Search only cvs-controlled files.
-rw-r--r-- | Makefile.maint | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.maint b/Makefile.maint index 7c3e88f93..2d757c423 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -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; } || : |