1 # Customize maint.mk. -*- makefile -*-
2 # Copyright (C) 2003-2011, 2013-2014 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
= GNU macro processor
20 # Always use shorthand copyrights.
21 update-copyright-env
= \
22 UPDATE_COPYRIGHT_USE_INTERVALS
=1 \
23 UPDATE_COPYRIGHT_MAX_LINE_LENGTH
=72
25 # Tests not to run as part of "make syntax-check".
26 # M4 intentionally uses a coding style that compiles under C++.
27 # sc_proper_name_utf8_requires_ICONV doesn't work with non-recursive Makefile
28 # sc_po_check assumes a directory layout that we don't quite provide
29 local-checks-to-skip
= sc_cast_of_x_alloc_return_value \
30 sc_proper_name_utf8_requires_ICONV \
34 # PRAGMA_SYSTEM_HEADER includes #, which does not work through a
35 # Makefile variable, so we exempt it.
36 _makefile_at_at_check_exceptions
= ' && !/PRAGMA_SYSTEM_HEADER/'
38 # Hash of NEWS contents, to ensure we don't add entries to wrong section.
39 old_NEWS_hash
= bbccada98ce08092a9f24b508c399051
41 # Indent only with spaces.
42 sc_prohibit_tab_based_indentation
:
44 msg
='TAB in indentation; use only spaces' \
47 # List all syntax-check exemptions:
48 exclude_file_name_regexp--sc_cast_of_argument_to_free
= ^m4
/m4private.h
$
49 exclude_file_name_regexp--sc_prohibit_always_true_header_tests
= \
51 exclude_file_name_regexp--sc_prohibit_strncpy
= ^m4
/path.c
$$
52 exclude_file_name_regexp--sc_prohibit_tab_based_indentation
= \
53 (^
(GNU
)?Makefile
(\.am
)?|\.mk|^HACKING|^ChangeLog.
*)$$
54 exclude_file_name_regexp--sc_require_config_h
= \
55 ^modules
/(evalparse|format
)\.c
$$
56 exclude_file_name_regexp--sc_require_config_h_first
= \
57 ^modules
/(evalparse|format
)\.c
$$
58 exclude_file_name_regexp--update_copyright
= \
59 ^
(doc
/m4\.texi|ltdl
/m4
/gnulib-cache.m4
)$$