findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] [PATCH] Add customisation of the behaviour of "make


From: James Youngman
Subject: [Findutils-patches] [PATCH] Add customisation of the behaviour of "make syntax-check".
Date: Fri, 2 Apr 2010 01:48:25 +0100

* cfg.mk: New file; configuration file for the maintainer-makefile
provided by gnulib.

Signed-off-by: James Youngman <address@hidden>
---
 ChangeLog |    4 ++++
 cfg.mk    |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 cfg.mk

diff --git a/ChangeLog b/ChangeLog
index 14e4409..9756a0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
 
 2010-04-02  James Youngman  <address@hidden>
 
+       Add customisation of the behaviour of "make syntax-check".
+       * cfg.mk: New file; configuration file for the maintainer-makefile
+       provided by gnulib.
+
        Don't define S_IS*; include <sys/stat.h> instead.
        * lib/modetype.h: Remove (all it does is define S_IS*).
        * lib/Makefile.am (EXTRA_DIST): Remove modetype.h.
diff --git a/cfg.mk b/cfg.mk
new file mode 100644
index 0000000..143d9ca
--- /dev/null
+++ b/cfg.mk
@@ -0,0 +1,45 @@
+# cfg.mk -- configuration file for the maintainer makefile provided by gnulib.
+# Copyright (C) 2010 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Errors I think are too picky anyway.
+skip_too_picky = sc_error_message_period sc_error_message_uppercase \
+       sc_file_system
+
+# Errors I have not investigated; diagnose and fix later.
+skip_dunno = sc_immutable_NEWS sc_makefile_at_at_check \
+       sc_prohibit_quote_without_use sc_prohibit_quotearg_without_use
+
+# Understand, but fix later.
+skip_defer = sc_program_name sc_prohibit_atoi_atof \
+       sc_prohibit_magic_number_exit sc_prohibit_stat_st_blocks \
+       sc_prohibit_strcmp sc_prohibit_test_minus_ao \
+       sc_prohibit_xalloc_without_use sc_space_tab \
+       sc_texinfo_acronym sc_unmarked_diagnostics
+
+# False positives I don't have a workaround for yet.
+false_positives = sc_obsolete_symbols sc_prohibit_cvs_keyword sc_the_the \
+       sc_two_space_separator_in_usage
+
+# Problems that have some false positives and some real ones; tease
+# apart later.
+mix_positives = sc_trailing_blank
+
+# Problems partly fixed in other patches which aren't merged yet.
+skip_blocked = sc_useless_cpp_parens
+
+local-checks-to-skip = \
+       $(skip_too_picky) $(skip_dunno) $(false_positives) $(skip_defer) \
+       $(mix_positives) $(skip_blocked)
-- 
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]