~ubuntu-branches/ubuntu/vivid/gzip/vivid

« back to all changes in this revision

Viewing changes to cfg.mk

  • Committer: Steve Langasek
  • Date: 2012-06-29 02:07:40 UTC
  • mfrom: (4.1.9 sid)
  • Revision ID: steve.langasek@canonical.com-20120629020740-qqikrblzana08v2y
Merge version 1.5-1.1 from Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Customize maint.mk                           -*- makefile -*-
 
2
# Copyright (C) 2003-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
 
18
manual_title = gzip: the data compression program
 
19
 
 
20
# Tests not to run as part of "make distcheck".
 
21
local-checks-to-skip =          \
 
22
  sc_bindtextdomain             \
 
23
  sc_error_message_period       \
 
24
  sc_error_message_uppercase    \
 
25
  sc_m4_quote_check             \
 
26
  sc_obsolete_symbols           \
 
27
  sc_program_name               \
 
28
  sc_prohibit_S_IS_definition   \
 
29
  sc_prohibit_atoi_atof         \
 
30
  sc_prohibit_stat_st_blocks    \
 
31
  sc_space_tab                  \
 
32
  sc_texinfo_acronym            \
 
33
  sc_useless_cpp_parens
 
34
 
 
35
 
 
36
# Tools used to bootstrap this package, used for "announcement".
 
37
bootstrap-tools = autoconf,automake,gnulib
 
38
 
 
39
# Now that we have better tests, make this the default.
 
40
export VERBOSE = yes
 
41
 
 
42
old_NEWS_hash = 4e76bc5d3e489bb63342e85762172502
 
43
 
 
44
sc_obs_header_regex = \
 
45
  \<(STDC_HEADERS|HAVE_(LIMITS|STRING|UNISTD|STDLIB)_H)\>
 
46
sc_prohibit_obsolete_HAVE_HEADER_H:
 
47
        @prohibit='^[    ]*#[    ]*(el)?if.*$(sc_obs_header_regex)' \
 
48
        halt='remove the above obsolete #if...HAVE_HEADER_H test(s)' \
 
49
          $(_sc_search_regexp)
 
50
 
 
51
update-copyright-env = \
 
52
  UPDATE_COPYRIGHT_USE_INTERVALS=1 \
 
53
  UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
 
54
 
 
55
# Indent only with spaces.
 
56
sc_prohibit_tab_based_indentation:
 
57
        @prohibit='^ *  '                                               \
 
58
        halt='TAB in indentation; use only spaces'                      \
 
59
          $(_sc_search_regexp)
 
60
 
 
61
# Don't use "indent-tabs-mode: nil" anymore.  No longer needed.
 
62
sc_prohibit_emacs__indent_tabs_mode__setting:
 
63
        @prohibit='^( *[*#] *)?indent-tabs-mode:'                       \
 
64
        halt='use of emacs indent-tabs-mode: setting'                   \
 
65
          $(_sc_search_regexp)
 
66
 
 
67
include $(srcdir)/dist-check.mk
 
68
 
 
69
exclude_file_name_regexp--sc_file_system = ^NEWS$$
 
70
exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
 
71
  (^|/)(GNU)?[Mm]akefile|(^|/)ChangeLog|\.(am|mk)$$
 
72
exclude_file_name_regexp--sc_require_config_h = ^lib/match\.c$$
 
73
exclude_file_name_regexp--sc_require_config_h_first = ^lib/match\.c$$
 
74
exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
 
75
  ^tests/hufts-segv\.gz$$
 
76
exclude_file_name_regexp--sc_prohibit_strcmp = ^gzip\.c$$
 
77
exclude_file_name_regexp--sc_prohibit_always-defined_macros = ^tailor\.h$$
 
78
 
 
79
# Tell the tight_scope rule that sources are in ".".
 
80
export _gl_TS_dir = .
 
81
 
 
82
# Tell the tight_scope rule that these variables are deliberately "extern".
 
83
export _gl_TS_unmarked_extern_vars = \
 
84
  block_start d_buf inbuf outbuf prev read_buf strstart window \
 
85
  match_start prev_length max_chain_length good_match