diff top/maint.mk @ 13045:04f53e0b1556

top/maint.mk (sc_texinfo_acronym): Add rule. Based on suggestions from karl@freefriends.org (Karl Berry).
author Simon Josefsson <simon@josefsson.org>
date Wed, 24 Mar 2010 08:45:04 +0100
parents 44ae789f77b0
children c3905931ce45
line wrap: on
line diff
--- a/top/maint.mk	Tue Mar 23 16:36:37 2010 -0700
+++ b/top/maint.mk	Wed Mar 24 08:45:04 2010 +0100
@@ -561,6 +561,13 @@
 	@re='$(_GFDL_regexp)' msg='GFDL vN, N!=3'			\
 	  $(_prohibit_regexp)
 
+# Don't use Texinfo @acronym{} as it is not a good idea.
+sc_texinfo_acronym:
+	@grep -nE '@acronym{'						\
+	    $$($(VC_LIST_EXCEPT) | grep -E '\.texi$$') &&		\
+	  { echo '$(ME): found use of Texinfo @acronym{}' 1>&2;		\
+	    exit 1; } || :
+
 cvs_keywords = \
   Author|Date|Header|Id|Name|Locker|Log|RCSfile|Revision|Source|State