1 # Customize maint.mk -*- makefile -*-
2 # Copyright (C) 2009-2011 Free Software Foundation, Inc.
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # Used in maint.mk's web-manual rule
18 manual_title
= GNU Grep
: Print lines matching a pattern
20 # Fixing these can wait.
24 sc_prohibit_atoi_atof \
25 sc_prohibit_tab_based_indentation \
27 sc_unmarked_diagnostics \
28 sc_error_message_uppercase \
29 sc_cast_of_argument_to_free \
32 # Tests not to run as part of "make distcheck".
33 local-checks-to-skip
= \
36 sc_useless_cpp_parens \
39 # Tools used to bootstrap this package, used for "announcement".
40 bootstrap-tools
= autoconf
,automake
,gnulib
42 # Now that we have better tests, make this the default.
45 old_NEWS_hash
= d41d8cd98f00b204e9800998ecf8427e
47 sc_prohibit_echo_minus_en
:
48 @prohibit
='\<echo -[en]' \
49 halt
='do not use echo ''-e or echo ''-n; use printf instead' \
52 # Indent only with spaces.
53 sc_prohibit_tab_based_indentation
:
55 halt
='TAB in indentation; use only spaces' \
58 # Don't use "indent-tabs-mode: nil" anymore. No longer needed.
59 sc_prohibit_emacs__indent_tabs_mode__setting
:
60 @prohibit
='^( *[*#] *)?indent-tabs-mode:' \
61 halt
='use of emacs indent-tabs-mode: setting' \
64 update-copyright-env
= \
65 UPDATE_COPYRIGHT_USE_INTERVALS
=1 \
66 UPDATE_COPYRIGHT_MAX_LINE_LENGTH
=79