+# It's easy to forget the noise-suppressing "@" at the beginning
+# of each sc_ rule. Check for it both in maint.mk and in this file.
+sc_prohibit_sc_omitted_at:
+ @if test -d .git; then \
+ git grep -n -A1 '^sc_[[:alnum:]_-]*:' top/maint.mk Makefile \
+ | grep -vE ':sc_|[0-9][-] @|--$$' \
+ | sed 's/-\([0-9][0-9]*\)-/:\1:/' \
+ | grep . \
+ && { printf '*** %s\n' 'oops; missing "@"' \
+ 1>&2; exit 1; } || : \
+ else :; fi
+