From: Jim Meyering Date: Sat, 9 Apr 2011 21:18:14 +0000 (+0200) Subject: maint.mk: prohibit \ X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9c8923d36e608241c829a06e1dc4a0931d961fa;p=pspp maint.mk: prohibit \ * top/maint.mk (sc_prohibit_the_the): New rule. --- diff --git a/ChangeLog b/ChangeLog index f523592e9c..521aefa851 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-04-09 Jim Meyering + maint.mk: prohibit \ + * top/maint.mk (sc_prohibit_the_the): New rule. + maint: fix "the the" in comment * lib/count-one-bits.h: s/the the/the/ diff --git a/top/maint.mk b/top/maint.mk index 823e46c93b..427dff3ece 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -841,6 +841,11 @@ sc_prohibit_S_IS_definition: halt='do not define S_IS* macros; include ' \ $(_sc_search_regexp) +sc_prohibit_the_the: + @prohibit='\' \ + halt='avoid double "the"' \ + $(_sc_search_regexp) + sc_prohibit_can_not: @prohibit='\' \ halt='use "cannot", not "can'' not"' \