changeset 14563:4f85858b0e7f

maint.mk: prohibit \<the the\> * top/maint.mk (sc_prohibit_the_the): New rule.
author Jim Meyering <meyering@redhat.com>
date Sat, 09 Apr 2011 23:18:14 +0200
parents 6705402fd98c
children 7132d483d84e
files ChangeLog top/maint.mk
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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/
 
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -841,6 +841,11 @@
 	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"'				\