summaryrefslogtreecommitdiff
path: root/cfg.mk
blob: bd0b4ad824d725586f5bd2c3b7e0af14a69abfe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# cfg.mk -- Configuration for maintainer-makefile
#
#   Copyright (c) 2011 Free Software Foundation, Inc.
#   Written by Gary V. Vaughan, 2011
#
#   This file is part of GNU Libtool.
#
# GNU Libtool 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 2 of the License, or
# (at your option) any later version.
#
# GNU Libtool 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 GNU Libtool; see the file COPYING.  If not, a copy
# can be downlodad from http://www.gnu.org/licenses/gpl.html,
# or obtained by writing to the Free Software Foundation, Inc.,
# 51 Franklin Street, Boston, # MA 02111-1301, USA.

# Set format of NEWS
old_NEWS_hash := d41d8cd98f00b204e9800998ecf8427e

manual_title = Portable Dynamic Shared Object Management

# Set the release announcement email addresses, maint.mk will email the
# translation-project instead of autotools-announce otherwise.
ifeq ($(RELEASE_TYPE),stable)
announcement_Cc_ = autotools-announce@gnu.org
else
announcement_Cc_ = autotools-announce@gnu.org, $(PACKAGE_BUGREPORT)
endif

# Don't syntax check the mail subdirectory.
VC_LIST_ALWAYS_EXCLUDE_REGEX = ^mail/

local-checks-to-fix =				\
	sc_prohibit_always-defined_macros	\
	sc_prohibit_always_true_header_tests	\
	sc_prohibit_have_config_h		\
	sc_prohibit_magic_number_exit		\
	sc_prohibit_stddef_without_use		\
	sc_prohibit_strcmp			\
	sc_prohibit_test_minus_ao		\
	sc_prohibit_undesirable_word_seq	\
	sc_require_config_h			\
	sc_require_config_h_first		\
	sc_space_tab				\
	sc_trailing_blank			\
	sc_useless_cpp_parens

local-checks-to-skip =				\
	$(local-checks-to-fix)			\
	sc_GPL_version				\
	sc_bindtextdomain			\
	sc_cast_of_x_alloc_return_value		\
	sc_program_name				\
	sc_unmarked_diagnostics

# GPL_version: checks for GPLv3, which we don't use
# bindtextdomain: libtool isn't internationalized
# cast_of_x_alloc_return_value:
#         We support C++ compilation which does require casting here.
# program_name: libtool has no programs!
# unmarked_diagnostics: libtool isn't internationalized

# List syntax-check exempted files.
exclude_file_name_regexp--sc_error_message_uppercase = \
  ^$(_build-aux)/cvsu$$