* cfg.mk: New file; configuration file for the maintainer-makefile provided by gnulib.
Signed-off-by: James Youngman <[email protected]> --- 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 <[email protected]> + 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 _______________________________________________ Findutils-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/findutils-patches
