1 # Customize maint.mk -*- makefile -*-
2 # Copyright (C) 2003-2021 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 # Use the direct link. This is guaranteed to work immediately, while
18 # it can take a while for the faster mirror links to become usable.
19 url_dir_list
= https
://ftp.gnu.org
/gnu
/$(PACKAGE
)
21 # Now that we have better (check.mk) tests, make this the default.
24 old_NEWS_hash
= e917bc1270c3a14ebf7ce8b17ab297bf
26 # Indent only with spaces.
27 sc_prohibit_tab_based_indentation
:
29 halt
='TAB in indentation; use only spaces' \
32 # Don't use "indent-tabs-mode: nil" anymore. No longer needed.
33 sc_prohibit_emacs__indent_tabs_mode__setting
:
34 @prohibit
='^( *[*#] *)?indent-tabs-mode:' \
35 halt
='use of emacs indent-tabs-mode: setting' \
38 bootstrap-tools
= autoconf
,automake
,flex
,gnulib
,gperf
,help2man
40 -include $(srcdir)/dist-check.mk
42 update-copyright-env
= \
43 UPDATE_COPYRIGHT_USE_INTERVALS
=1 \
44 UPDATE_COPYRIGHT_MAX_LINE_LENGTH
=79
46 _hv_regex_strong ?
= ^
*\.
"\$${top_srcdir=\.}/tests/init\.sh"
48 exclude_file_name_regexp--sc_prohibit_stat_st_blocks
= ^src
/system\.h
$$
49 exclude_file_name_regexp--sc_prohibit_tab_based_indentation
= \
50 (Makefile
(\.am
)?|\.mk
)$$
52 # Tell the tight_scope rule that yacc-related yy* names are extern.
53 export _gl_TS_unmarked_extern_functions
= main usage yy.
*
54 export _gl_TS_unmarked_extern_vars
= yy.
*