maint: update copyright year ranges to include 2015; update gnulib
[gzip.git] / cfg.mk
blobf39c6fe31ad702acfd33be26f98105ea510e7ed4
1 # Customize maint.mk -*- makefile -*-
2 # Copyright (C) 2003-2015 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_bindtextdomain \
23 sc_error_message_period \
24 sc_error_message_uppercase \
25 sc_program_name \
26 sc_texinfo_acronym
28 # Tools used to bootstrap this package, used for "announcement".
29 bootstrap-tools = autoconf,automake,gnulib
31 # Now that we have better tests, make this the default.
32 export VERBOSE = yes
34 old_NEWS_hash = dada3abad00e555713d6e99738224904
36 sc_obs_header_regex = \
37 \<(STDC_HEADERS|HAVE_(LIMITS|STRING|UNISTD|STDLIB)_H)\>
38 sc_prohibit_obsolete_HAVE_HEADER_H:
39 @prohibit='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \
40 halt='remove the above obsolete #if...HAVE_HEADER_H test(s)' \
41 $(_sc_search_regexp)
43 update-copyright-env = \
44 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
45 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
47 # Indent only with spaces.
48 sc_prohibit_tab_based_indentation:
49 @prohibit='^ * ' \
50 halt='TAB in indentation; use only spaces' \
51 $(_sc_search_regexp)
53 # Don't use "indent-tabs-mode: nil" anymore. No longer needed.
54 sc_prohibit_emacs__indent_tabs_mode__setting:
55 @prohibit='^( *[*#] *)?indent-tabs-mode:' \
56 halt='use of emacs indent-tabs-mode: setting' \
57 $(_sc_search_regexp)
59 include $(srcdir)/dist-check.mk
61 exclude_file_name_regexp--sc_file_system = ^NEWS$$
62 exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
63 (^|/)(GNU)?[Mm]akefile|(^|/)ChangeLog|\.(am|mk)$$
64 exclude_file_name_regexp--sc_require_config_h = ^lib/match\.c$$
65 exclude_file_name_regexp--sc_require_config_h_first = ^lib/match\.c$$
66 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
67 ^tests/hufts-segv\.gz$$
68 exclude_file_name_regexp--sc_prohibit_strcmp = ^gzip\.c$$
69 exclude_file_name_regexp--sc_prohibit_always-defined_macros = ^tailor\.h$$
70 exclude_file_name_regexp--sc_prohibit_atoi_atof = ^(gzip|sample/sub)\.c$$
71 exclude_file_name_regexp--sc_space_tab = ^lib/match\.c$$
72 exclude_file_name_regexp--sc_useless_cpp_parens = ^(lib/match\.c|tailor\.h)$$
74 exclude_file_name_regexp--sc_prohibit_double_semicolon = ^lib/match\.c$$
76 # Tell the tight_scope rule that sources are in ".".
77 export _gl_TS_dir = .
79 # Tell the tight_scope rule that these variables are deliberately "extern".
80 export _gl_TS_unmarked_extern_vars = \
81 block_start d_buf inbuf outbuf prev read_buf strstart window \
82 match_start prev_length max_chain_length good_match nice_match