From 1e0d9f6c443f26bda99101fe4525205aa8dbbd54 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 6 Jun 2003 23:07:53 +0000 Subject: [PATCH] (syntax-check): Add commented-out (over-aggressive) rule. --- Makefile.maint | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.maint b/Makefile.maint index 064278b0bb..4ab4621145 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -1,5 +1,5 @@ # -*-Makefile-*- -# This Makefile fragment is shared between fileutils, sh-utils, textutils, +# This Makefile fragment is shared between the coreutils, # CPPI, Bison, and Autoconf. ## Copyright (C) 2001-2003 Free Software Foundation, Inc. @@ -80,6 +80,10 @@ syntax-check: $$(find -type f -name '*.[chly]') && \ { echo '$(ME): found error (EXIT_SUCCESS' 1>&2; \ exit 1; } || : +# @grep -E '# *include <(limits|std(def|arg|bool))\.h>' \ +# $$(find -type f -name '*.[chly]') && \ +# { echo '$(ME): found conditional include' 1>&2; \ +# exit 1; } || : # grep -E '^# *include <(string|stdlib)\.h>' \ # $(srcdir)/{lib,src}/*.[chy] && \ -- 2.47.2