maint: update all copyright dates via "make update-copyright"
[cppi.git] / cfg.mk
blobfbb3b042c76da53aa3c5ebeb336d5079d88620c3
1 # Customize maint.mk -*- makefile -*-
2 # Copyright (C) 2003-2021, 2023-2024 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 # Use the direct link. This is guaranteed to work immediately, while
18 # it can take a while for the faster mirror links to become usable.
19 url_dir_list = https://ftp.gnu.org/gnu/$(PACKAGE)
21 # Now that we have better (check.mk) tests, make this the default.
22 export VERBOSE = yes
24 old_NEWS_hash = e917bc1270c3a14ebf7ce8b17ab297bf
26 local-checks-to-skip = \
27 sc_indent
29 # Indent only with spaces.
30 sc_prohibit_tab_based_indentation:
31 @prohibit='^ * ' \
32 halt='TAB in indentation; use only spaces' \
33 $(_sc_search_regexp)
35 # Don't use "indent-tabs-mode: nil" anymore. No longer needed.
36 sc_prohibit_emacs__indent_tabs_mode__setting:
37 @prohibit='^( *[*#] *)?indent-tabs-mode:' \
38 halt='use of emacs indent-tabs-mode: setting' \
39 $(_sc_search_regexp)
41 bootstrap-tools = autoconf,automake,flex,gnulib,gperf,help2man
43 -include $(srcdir)/dist-check.mk
45 update-copyright-env = \
46 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
47 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
49 _hv_regex_strong ?= ^ *\. "\$${top_srcdir=\.}/tests/init\.sh"
51 exclude_file_name_regexp--sc_prohibit_stat_st_blocks = ^src/system\.h$$
52 exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
53 (Makefile(\.am)?|\.mk)$$
55 # Tell the tight_scope rule that yacc-related yy* names are extern.
56 export _gl_TS_unmarked_extern_functions = main usage yy.*
57 export _gl_TS_unmarked_extern_vars = yy.*