57 lines
2.2 KiB
Makefile
57 lines
2.2 KiB
Makefile
# Customize maint.mk. -*- makefile -*-
|
|
# Copyright (C) 2003-2014, 2016-2017, 2020-2026 Free Software
|
|
# Foundation, Inc.
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
# Used in maint.mk's web-manual rule
|
|
manual_title = GNU macro processor
|
|
|
|
# Always use shorthand copyrights.
|
|
update-copyright-env = \
|
|
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
|
|
UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
|
|
|
|
# Tests not to run as part of "make syntax-check".
|
|
local-checks-to-skip =
|
|
# M4 intentionally uses a coding style that compiles under C++.
|
|
local-checks-to-skip += sc_cast_of_x_alloc_return_value
|
|
|
|
# Our files include "m4.h", which in turn includes <config.h> first.
|
|
config_h_header = "m4\.h"
|
|
|
|
# Hash of NEWS contents, to ensure we don't add entries to wrong section.
|
|
old_NEWS_hash = 4bcf31da6270885ae5682b86e837a9ed
|
|
|
|
# Update m4-latest.tar.* symlinks during 'make stable/beta'.
|
|
GNUPLOADFLAGS = --symlink-regex
|
|
|
|
# Indent only with spaces.
|
|
sc_prohibit_tab_based_indentation:
|
|
@re='^ * ' \
|
|
msg='TAB in indentation; use only spaces' \
|
|
$(_prohibit_regexp)
|
|
indent_args = --ignore-profile --preprocessor-indentation 1 --no-tabs \
|
|
-T int32_t -T uint32_t
|
|
|
|
# List all syntax-check exemptions:
|
|
exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
|
|
(^(GNU)?Makefile(\.am)?|\.mk|^HACKING|^ChangeLog.*)$$
|
|
exclude_file_name_regexp--update-copyright = ^m4/gnulib-cache.m4$$
|
|
exclude_file_name_regexp--sc_codespell = ^THANKS$$
|
|
exclude_file_name_regexp--sc_trailing_blank = ^examples/barem4.m4$$
|
|
|
|
# Codespell exemptions:
|
|
codespell_ignore_words_list = ois,WIDTHn
|