avoid file descriptor leak in replication
[iwhd.git] / cfg.mk
blob84fce00623ce89a4235d55e0599eeb05e6b3f84a
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.
21 skip_low_priority = \
22 sc_bindtextdomain \
23 sc_texinfo_acronym \
24 sc_prohibit_atoi_atof \
25 sc_prohibit_tab_based_indentation \
26 sc_prohibit_strcmp \
27 sc_unmarked_diagnostics \
28 sc_error_message_uppercase \
29 sc_cast_of_argument_to_free \
30 sc_file_system
32 # Tests not to run as part of "make distcheck".
33 local-checks-to-skip = \
34 sc_program_name \
35 sc_space_tab \
36 sc_useless_cpp_parens \
37 $(skip_low_priority)
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.
43 export VERBOSE = yes
45 old_NEWS_hash = dba674b8d2d0a340da7654d16cced91e
47 sc_prohibit_echo_minus_en:
48 @prohibit='\<echo -[en]' \
49 halt='do not use echo ''-e or echo ''-n; use printf instead' \
50 $(_sc_search_regexp)
52 # Indent only with spaces.
53 sc_prohibit_tab_based_indentation:
54 @prohibit='^ * ' \
55 halt='TAB in indentation; use only spaces' \
56 $(_sc_search_regexp)
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' \
62 $(_sc_search_regexp)
64 update-copyright-env = \
65 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
66 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79