From: Jim Meyering Date: Fri, 6 Jun 2003 23:07:53 +0000 (+0000) Subject: (syntax-check): Add commented-out (over-aggressive) rule. X-Git-Tag: v5.0.1~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e0d9f6c443f26bda99101fe4525205aa8dbbd54;p=thirdparty%2Fcoreutils.git (syntax-check): Add commented-out (over-aggressive) rule. --- 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] && \