changeset 16212:41ea1c7c240a

maint.mk: remove temporary transition aid from over 1.5 years ago * top/maint.mk (_prohibit_regexp): Remove definition whose sole purpose was to aid in the transition (avoiding silent malfunction) from that old name to the new _sc_search_regexp. This shim was added by commit 219c504b.
author Jim Meyering <meyering@redhat.com>
date Tue, 03 Jan 2012 11:35:43 +0100
parents bbaef3edbe87
children 64bc9fe46ccd
files ChangeLog top/maint.mk
diffstat 2 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-01-03  Jim Meyering  <meyering@redhat.com>
 
+	maint.mk: remove temporary transition aid from over 1.5 years ago
+	* top/maint.mk (_prohibit_regexp): Remove definition whose sole
+	purpose was to aid in the transition (avoiding silent malfunction)
+	from that old name to the new _sc_search_regexp.  This shim was
+	added by commit 219c504b.
+
 	init.sh: do not try to accommodate compare arguments starting with "-"
 	* tests/init.sh (compare_dev_null_): Do not try to accommodate
 	compare arguments that start with "-".  Besides, we do not worry
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -221,15 +221,6 @@
    { printf '%s\n' "$(ME): $$msg" 1>&2; exit 1; };
 endef
 
-# _sc_search_regexp used to be named _prohibit_regexp.  However,
-# upgrading to the new definition and leaving the old name undefined
-# would usually convert each custom rule using $(_prohibit_regexp)
-# (usually defined in cfg.mk) into a no-op.  This definition ensures
-# that people know right away if they're still using the old name.
-# FIXME: remove in 2012.
-_prohibit_regexp = \
-  $(error '*** you need to s/_prohibit_regexp/_sc_search_regexp/, and adapt')
-
 define _sc_search_regexp
    dummy=; : so we do not need a semicolon before each use;		\
 									\