summaryrefslogtreecommitdiffstats
path: root/cfg.mk
blob: 9be2819a493cbdf5852ec6ada13e9d8c0fb0b550 (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
# Customize maint.mk.                           -*- makefile -*-
# Copyright (C) 2003-2011 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 <http://www.gnu.org/licenses/>.

# Used in maint.mk's web-manual rule
manual_title = GNU idutils: ID database utilities

# Tests not to run as part of "make distcheck".
local-checks-to-skip =                  \
  sc_bindtextdomain                     \
  sc_changelog                          \
  sc_prohibit_atoi_atof

old_NEWS_hash = 7c42fc431cadd9164dde6f9a7113b920

sc_tight_scope:
        $(MAKE) -C src $@

include $(srcdir)/dist-check.mk

update-copyright-env = \
  UPDATE_COPYRIGHT_USE_INTERVALS=1 \
  UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79

_hv_file = $(srcdir)/testsuite/help-version

exclude_file_name_regexp--sc_cast_of_argument_to_free = ^src/lid\.c$$
exclude_file_name_regexp--sc_program_name = ^testsuite/
exclude_file_name_regexp--sc_prohibit_always_true_header_tests = src/lid\.c$$
exclude_file_name_regexp--sc_prohibit_strcmp = ^libidu/iduglobal\.h$$

config_h_exempt = ^(testsuite/single_file_token_bug\.c|src/lid-[aegl]id\.c)$$
exclude_file_name_regexp--sc_require_config_h = $(config_h_exempt)
exclude_file_name_regexp--sc_require_config_h_first = $(config_h_exempt)