Bump to m4 1.4.19
[platform/upstream/m4.git] / cfg.mk
1 # Customize maint.mk.                           -*- makefile -*-
2 # Copyright (C) 2003-2014, 2016-2017, 2020-2021 Free Software
3 # Foundation, Inc.
4
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
17
18 # Used in maint.mk's web-manual rule
19 manual_title = GNU macro processor
20
21 # Always use shorthand copyrights.
22 update-copyright-env = \
23   UPDATE_COPYRIGHT_USE_INTERVALS=1 \
24   UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
25
26 # Tests not to run as part of "make syntax-check".
27 local-checks-to-skip =
28 # We haven't yet turned on i18n
29 local-checks-to-skip += sc_bindtextdomain
30 # M4 intentionally uses a coding style that compiles under C++.
31 local-checks-to-skip += sc_cast_of_x_alloc_return_value
32
33 # Our files include "m4.h", which in turn includes <config.h> first.
34 config_h_header = "m4\.h"
35
36 # Hash of NEWS contents, to ensure we don't add entries to wrong section.
37 old_NEWS_hash = 9f7b57774172e11c4a0a9ea4d2e2effe
38
39 # Update m4-latest.tar.* symlinks during 'make stable/beta'.
40 GNUPLOADFLAGS = --symlink-regex
41
42 # Indent only with spaces.
43 sc_prohibit_tab_based_indentation:
44  @re='^ *    '                                               \
45  msg='TAB in indentation; use only spaces'                   \
46    $(_prohibit_regexp)
47
48 # List all syntax-check exemptions:
49 exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
50   (^(GNU)?Makefile(\.am)?|\.mk|^HACKING|^ChangeLog.*)$$
51 exclude_file_name_regexp--update-copyright = ^m4/gnulib-cache.m4$$