summaryrefslogtreecommitdiff
path: root/top/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-18 08:49:59 +0200
committerJim Meyering <meyering@redhat.com>2012-09-18 08:51:55 +0200
commit0bd094419b485b9cb8d2732a3f120097a0dc3bd6 (patch)
tree112e735651f6654627e5bcd0009721f1e0f643c9 /top/maint.mk
parentb6de466199bc46519e81683860e4905e9cb90648 (diff)
downloadgnulib-0bd094419b485b9cb8d2732a3f120097a0dc3bd6.tar.gz
maint.mk: exempt trailing blanks found in "binary" files
* top/maint.mk (sc_trailing_blank): Filter out any matches found in "binary" files, as reported by grep. Suggested by Richard W.M. Jones in http://thread.gmane.org/gmane.comp.emulators.guestfs/1902
Diffstat (limited to 'top/maint.mk')
-rw-r--r--top/maint.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/top/maint.mk b/top/maint.mk
index f77d0c1e27..ccf09a2cdb 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -724,6 +724,7 @@ sc_require_test_exit_idiom:
sc_trailing_blank:
@prohibit='[ ]$$' \
halt='found trailing blank(s)' \
+ exclude='^Binary file .* matches$$' \
$(_sc_search_regexp)
# Match lines like the following, but where there is only one space