From cc29b366aaa1169687b999ec1abd89b9886a2246 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Sep 2006 14:59:11 +0000 Subject: [PATCH] * Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there are no .m4 files. --- ChangeLog | 5 +++++ Makefile.maint | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e204153fc8..396779cc56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-09 Jim Meyering + + * Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there + are no .m4 files. + 2006-09-08 Jim Meyering * bootstrap: Export CVS_RSH separate from its assignment, to work diff --git a/Makefile.maint b/Makefile.maint index 49afba5ef6..6825d8d13a 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -197,8 +197,8 @@ endif # On 2004-04-13, they were all changed to start with gl_ instead. # Make sure that none are inadvertently reintroduced. sc_prohibit_jm_in_m4: - @grep -nE 'jm_[A-Z]' \ - $$($(CVS_LIST) m4 |grep '\.m4$$') && \ + grep -nE 'jm_[A-Z]' \ + $$($(CVS_LIST) m4 |grep '\.m4$$'; echo /dev/null) && \ { echo '$(ME): do not use jm_ in m4 macro names' \ 1>&2; exit 1; } || : -- 2.47.3