]> Savannah Git Hosting - gnulib.git/commit
maint.mk: Replace grep with $(GREP)
authorRoman Bolshakov <r.bolshakov@yadro.com>
Wed, 2 Jan 2019 20:08:00 +0000 (14:08 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 2 Jan 2019 20:12:33 +0000 (14:12 -0600)
commit7216e3e8d9f914d216fb10abf7dbeafa6570eb87
treee09af6955f41785b2017f01b190b53c184f339bf
parent64e5ddb08f39360494b8298c1d249c8813949749
maint.mk: Replace grep with $(GREP)

A project that uses maint.mk can specify regular expressions that are
not supported in system grep. Autoconf can discover an alias for GNU
grep and set it in GREP but it takes no effect for maint.mk

The patch provides an ability to use GNU grep if it was discovered by
autoconf and by calling GNU grep we don't get the messages in syntax-check:
  prohibit_diagnostic_without_format
  grep: empty (sub)expression
  grep: empty (sub)expression
  grep: empty (sub)expression
  grep: empty (sub)expression
  grep: empty (sub)expression
  grep: empty (sub)expression

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20181213153453.38123-3-r.bolshakov@yadro.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
modules/maintainer-makefile
top/maint.mk