VirtualBox

source: kBuild/vendor/grep/2.12/cfg.mk@ 3627

Last change on this file since 3627 was 2595, checked in by bird, 13 years ago

gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)

File size: 3.2 KB
Line 
1# Customize maint.mk -*- makefile -*-
2# Copyright (C) 2009-2012 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
18manual_title = GNU Grep: Print lines matching a pattern
19
20# Use the direct link. This is guaranteed to work immediately, while
21# it can take a while for the faster mirror links to become usable.
22url_dir_list = http://ftp.gnu.org/gnu/$(PACKAGE)
23
24# Tests not to run as part of "make distcheck".
25local-checks-to-skip = \
26 sc_texinfo_acronym
27
28# Tools used to bootstrap this package, used for "announcement".
29bootstrap-tools = autoconf,automake,gnulib
30
31# Now that we have better tests, make this the default.
32export VERBOSE = yes
33
34# Comparing tarball sizes compressed using different xz presets, we see
35# that -6e adds only 60 bytes to the size of the tarball, yet reduces
36# (from -9) the decompression memory requirement from 64 MiB to 9 MiB.
37# Don't be tempted by -5e, since -6 and -5 use the same dictionary size.
38# $ for i in {4,5,6,7,8,9}{e,}; do \
39# (n=$(xz -$i < grep-2.11.tar|wc -c);echo $n $i) & done |sort -nr
40# 1236632 4
41# 1162564 5
42# 1140988 4e
43# 1139620 6
44# 1139480 7
45# 1139480 8
46# 1139480 9
47# 1129552 5e
48# 1127616 6e
49# 1127556 7e
50# 1127556 8e
51# 1127556 9e
52export XZ_OPT = -6e
53
54old_NEWS_hash = 347e90ee0ec0489707df139ca3539934
55
56# Many m4 macros names once began with `jm_'.
57# Make sure that none are inadvertently reintroduced.
58sc_prohibit_jm_in_m4:
59 @grep -nE 'jm_[A-Z]' \
60 $$($(VC_LIST) m4 |grep '\.m4$$'; echo /dev/null) && \
61 { echo '$(ME): do not use jm_ in m4 macro names' \
62 1>&2; exit 1; } || :
63
64sc_prohibit_echo_minus_en:
65 @prohibit='\<echo -[en]' \
66 halt='do not use echo ''-e or echo ''-n; use printf instead' \
67 $(_sc_search_regexp)
68
69# Indent only with spaces.
70sc_prohibit_tab_based_indentation:
71 @prohibit='^ * ' \
72 halt='TAB in indentation; use only spaces' \
73 $(_sc_search_regexp)
74
75# Don't use "indent-tabs-mode: nil" anymore. No longer needed.
76sc_prohibit_emacs__indent_tabs_mode__setting:
77 @prohibit='^( *[*#] *)?indent-tabs-mode:' \
78 halt='use of emacs indent-tabs-mode: setting' \
79 $(_sc_search_regexp)
80
81update-copyright-env = \
82 UPDATE_COPYRIGHT_USE_INTERVALS=1 \
83 UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
84
85exclude_file_name_regexp--sc_bindtextdomain = ^tests/get-mb-cur-max\.c$$
86exclude_file_name_regexp--sc_prohibit_strcmp = /colorize-.*\.c$$
87exclude_file_name_regexp--sc_prohibit_xalloc_without_use = ^src/kwset\.c$$
88exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
89 (Makefile|\.(am|mk)$$|^gl/lib/.*\.c\.diff$$)
90exclude_file_name_regexp--sc_space_tab = ^gl/lib/.*\.c\.diff$$
91exclude_file_name_regexp--sc_error_message_uppercase = ^src/dfa\.c$$
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette