1# Customize maint.mk -*- makefile -*- 2# Copyright (C) 2003-2013 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# 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. 19url_dir_list = http://ftp.gnu.org/gnu/$(PACKAGE) 20 21# Now that we have better (check.mk) tests, make this the default. 22export VERBOSE = yes 23 24old_NEWS_hash = 7d2070f92444533a7030a2c8895380d1 25 26# Indent only with spaces. 27sc_prohibit_tab_based_indentation: 28 @prohibit='^ * ' \ 29 halt='TAB in indentation; use only spaces' \ 30 $(_sc_search_regexp) 31 32# Don't use "indent-tabs-mode: nil" anymore. No longer needed. 33sc_prohibit_emacs__indent_tabs_mode__setting: 34 @prohibit='^( *[*#] *)?indent-tabs-mode:' \ 35 halt='use of emacs indent-tabs-mode: setting' \ 36 $(_sc_search_regexp) 37 38bootstrap-tools = autoconf,automake,flex,gnulib,gperf,help2man 39 40-include $(srcdir)/dist-check.mk 41 42update-copyright-env = \ 43 UPDATE_COPYRIGHT_USE_INTERVALS=1 \ 44 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 45 46_hv_regex_strong ?= ^ *\. "\$${top_srcdir=\.}/tests/init\.sh" 47 48exclude_file_name_regexp--sc_prohibit_stat_st_blocks = ^src/system\.h$$ 49exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \ 50 (Makefile(\.am)?|\.mk)$$ 51 52# Tell the tight_scope rule that yacc-related yy* names are extern. 53export _gl_TS_unmarked_extern_functions = main usage yy.* 54export _gl_TS_unmarked_extern_vars = yy.* 55