summaryrefslogtreecommitdiff
path: root/Makefile.maint
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 /Makefile.maint
parent262296271d6f5f178c54ae4b9a4186050acb3efa (diff)
downloadcoreutils-cc29b366aaa1169687b999ec1abd89b9886a2246.tar.xz
* Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there
are no .m4 files.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint4
1 files changed, 2 insertions, 2 deletions
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; } || :