zgrep: fix parsing of -Eh options
[gzip.git] / cfg.mk
blob879637b787f1c8ef91e658bd2512f3063234674a
1 # Customize maint.mk -*- makefile -*-
2 # Copyright (C) 2003-2010 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 = gzip: the data compression program
20 # Tests not to run as part of "make distcheck".
21 local-checks-to-skip = \
22 sc_error_message_period \
23 sc_error_message_uppercase \
24 sc_m4_quote_check \
25 sc_obsolete_symbols \
26 sc_program_name \
27 sc_prohibit_S_IS_definition \
28 sc_prohibit_atoi_atof \
29 sc_prohibit_stat_st_blocks \
30 sc_space_tab \
31 sc_texinfo_acronym \
32 sc_useless_cpp_parens
35 # Tools used to bootstrap this package, used for "announcement".
36 bootstrap-tools = autoconf,automake,gnulib
38 # Now that we have better tests, make this the default.
39 export VERBOSE = yes
41 old_NEWS_hash = e35901d8427a032d2b88a3195ed24a8f
43 sc_obs_header_regex = \
44 \<(STDC_HEADERS|HAVE_(LIMITS|STRING|UNISTD|STDLIB)_H)\>
45 sc_prohibit_obsolete_HAVE_HEADER_H:
46 @prohibit='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \
47 halt='remove the above obsolete #if...HAVE_HEADER_H test(s)' \
48 $(_sc_search_regexp)
50 update-copyright-env = \
51 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
52 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
54 # Indent only with spaces.
55 sc_prohibit_tab_based_indentation:
56 @prohibit='^ * ' \
57 halt='TAB in indentation; use only spaces' \
58 $(_sc_search_regexp)
60 # Don't use "indent-tabs-mode: nil" anymore. No longer needed.
61 sc_prohibit_emacs__indent_tabs_mode__setting:
62 @prohibit='^( *[*#] *)?indent-tabs-mode:' \
63 halt='use of emacs indent-tabs-mode: setting' \
64 $(_sc_search_regexp)
66 include $(srcdir)/dist-check.mk