maint.mk: prohibit \<the the\>
authorJim Meyering <meyering@redhat.com>
Sat, 9 Apr 2011 21:18:14 +0000 (23:18 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 9 Apr 2011 21:18:14 +0000 (23:18 +0200)
* top/maint.mk (sc_prohibit_the_the): New rule.

ChangeLog
top/maint.mk

index f523592e9cadd3c4f78d259131ff75d7d946246e..521aefa8514516c9b906c11999a9ff1f8db11a25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-04-09  Jim Meyering  <meyering@redhat.com>
 
+       maint.mk: prohibit \<the the\>
+       * top/maint.mk (sc_prohibit_the_the): New rule.
+
        maint: fix "the the" in comment
        * lib/count-one-bits.h: s/the the/the/
 
index 823e46c93b92da091a7999c899b4177ea325fcb4..427dff3ecea1dba153f17852e4150de9e8c2a80e 100644 (file)
@@ -841,6 +841,11 @@ sc_prohibit_S_IS_definition:
        halt='do not define S_IS* macros; include <sys/stat.h>'         \
          $(_sc_search_regexp)
 
+sc_prohibit_the_the:
+       @prohibit='\<the[ ]the\>'                                       \
+       halt='avoid double "the"'                                       \
+         $(_sc_search_regexp)
+
 sc_prohibit_can_not:
        @prohibit='\<can[ ]not\>'                                       \
        halt='use "cannot", not "can'' not"'                            \