summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-09-09 14:59:11 +0000
committerJim Meyering <jim@meyering.net>2006-09-09 14:59:11 +0000
commitcc29b366aaa1169687b999ec1abd89b9886a2246 (patch)
tree701bb819ad42c1a9b654c55d148465123d4d8f66
parent262296271d6f5f178c54ae4b9a4186050acb3efa (diff)
downloadcoreutils-cc29b366aaa1169687b999ec1abd89b9886a2246.tar.xz
* Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there
are no .m4 files.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.maint4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e204153fc..396779cc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-09 Jim Meyering <jim@meyering.net>
+
+ * Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there
+ are no .m4 files.
+
2006-09-08 Jim Meyering <jim@meyering.net>
* bootstrap: Export CVS_RSH separate from its assignment, to work
diff --git a/Makefile.maint b/Makefile.maint
index 49afba5ef..6825d8d13 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; } || :