maint: prefer STREQ/STRNEQ to strcmp contortions.
[m4/ericb.git] / cfg.mk
blob2bb9e4c98f1fffc9239af596309b1121e789f81a
1 # Customize maint.mk. -*- makefile -*-
2 # Copyright (C) 2003-2011, 2013 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 \
31 sc_po_check
33 # PRAGMA_SYSTEM_HEADER includes #, which does not work through a
34 # Makefile variable, so we exempt it.
35 _makefile_at_at_check_exceptions = ' && !/PRAGMA_SYSTEM_HEADER/'
37 # Hash of NEWS contents, to ensure we don't add entries to wrong section.
38 old_NEWS_hash = 63ea02337d29e0ce5574ec04d87df4f9
40 # Indent only with spaces.
41 sc_prohibit_tab_based_indentation:
42 @re='^ * ' \
43 msg='TAB in indentation; use only spaces' \
44 $(_prohibit_regexp)