maint: update copyright year ranges to include 2011
[gzip.git] / cfg.mk
blobcbe5297d3a9effdce699de716b9c18a9990a1688
1 # Customize maint.mk -*- makefile -*-
2 # Copyright (C) 2003-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 = 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_m4_quote_check \
26 sc_obsolete_symbols \
27 sc_program_name \
28 sc_prohibit_S_IS_definition \
29 sc_prohibit_atoi_atof \
30 sc_prohibit_stat_st_blocks \
31 sc_space_tab \
32 sc_texinfo_acronym \
33 sc_useless_cpp_parens
36 # Tools used to bootstrap this package, used for "announcement".
37 bootstrap-tools = autoconf,automake,gnulib
39 # Now that we have better tests, make this the default.
40 export VERBOSE = yes
42 old_NEWS_hash = 4e76bc5d3e489bb63342e85762172502
44 sc_obs_header_regex = \
45 \<(STDC_HEADERS|HAVE_(LIMITS|STRING|UNISTD|STDLIB)_H)\>
46 sc_prohibit_obsolete_HAVE_HEADER_H:
47 @prohibit='^[ ]*#[ ]*(el)?if.*$(sc_obs_header_regex)' \
48 halt='remove the above obsolete #if...HAVE_HEADER_H test(s)' \
49 $(_sc_search_regexp)
51 update-copyright-env = \
52 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
53 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
55 # Indent only with spaces.
56 sc_prohibit_tab_based_indentation:
57 @prohibit='^ * ' \
58 halt='TAB in indentation; use only spaces' \
59 $(_sc_search_regexp)
61 # Don't use "indent-tabs-mode: nil" anymore. No longer needed.
62 sc_prohibit_emacs__indent_tabs_mode__setting:
63 @prohibit='^( *[*#] *)?indent-tabs-mode:' \
64 halt='use of emacs indent-tabs-mode: setting' \
65 $(_sc_search_regexp)
67 include $(srcdir)/dist-check.mk