]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there
authorJim Meyering <jim@meyering.net>
Sat, 9 Sep 2006 14:59:11 +0000 (14:59 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 9 Sep 2006 14:59:11 +0000 (14:59 +0000)
are no .m4 files.

ChangeLog
Makefile.maint

index e204153fc8b57d78801d057863d24971c9b52d67..396779cc56c56b8ee2781750fa5811511b3250c3 100644 (file)
--- 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
index 49afba5ef67f15ede893d79090a458c4d0d35f64..6825d8d13a7013acd2fcf4274c6f36e7c1a0a4ae 100644 (file)
@@ -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; } || :