Imported Upstream version 1.4.16
[platform/upstream/m4.git] / cfg.mk
1 # Customize maint.mk.                           -*- makefile -*-
2 # Copyright (C) 2003-2011 Free Software Foundation, Inc.
3
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.
8
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.
13
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/>.
16
17 # Used in maint.mk's web-manual rule
18 manual_title = GNU macro processor
19
20 # Always use shorthand copyrights.
21 update-copyright-env = \
22   UPDATE_COPYRIGHT_USE_INTERVALS=1 \
23   UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
24
25 # Tests not to run as part of "make syntax-check".
26 local-checks-to-skip =
27 # We haven't yet turned on i18n
28 local-checks-to-skip += sc_bindtextdomain
29 # M4 intentionally uses a coding style that compiles under C++.
30 local-checks-to-skip += sc_cast_of_x_alloc_return_value
31 # sc_copyright_check is currently broken for multi-line copyrights.
32 local-checks-to-skip += sc_copyright_check
33
34 # Our files include "m4.h", which in turn includes <config.h> first.
35 config_h_header = "m4\.h"
36
37 # Hash of NEWS contents, to ensure we don't add entries to wrong section.
38 old_NEWS_hash = cd89f6716f741756751054c484b7044b
39
40 # Indent only with spaces.
41 sc_prohibit_tab_based_indentation:
42  @re='^ *    '                                               \
43  msg='TAB in indentation; use only spaces'                   \
44    $(_prohibit_regexp)