summaryrefslogtreecommitdiff
path: root/Build/source/texk/psutils/psutils-src/bootstrap.conf
blob: f00efadf76d75ee6eb441cba35b3ae6a875f2f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# bootstrap.conf (psutils)
# Written by Gary V. Vaughan, 2010

# Copyright (C) 2010 Gary V. Vaughan.

# This file is part of psutils.
# See LICENSE for license.

## -------------- ##
## Configuration. ##
## -------------- ##

# Additional gnulib-tool options to use.
gnulib_tool_options='
'

# gnulib modules used by this package.
# FIXME: progname should not be needed
gnulib_modules='
	warnings
	manywarnings
	binary-io
	fseeko
	fstat
	ftello
	getopt-gnu
	getline
	progname
	unistd
	verror
	xvasprintf
'

# Extra gnulib files that are not in modules, which override files of
# the same name installed by other bootstrap tools.
gnulib_non_module_files='
        build-aux/config.guess
        build-aux/config.sub
        build-aux/install-sh
'

# The not-synced with gnulib warning is bogus until upstream adopts
# the saner bootstrap script.
require_bootstrap_uptodate=:

## --------------- ##
## Hook functions. ##
## --------------- ##

# psutils_ignore_gnulib_ignore
# ----------------------------
# gnulib-tool updates m4/.gitignore and lib/.gitignore, and keeping
# generated files under version control does not make sense.  Since
# lib is entirely ignored, we only need to prepopulate the m4 ignore
# files with generated files not tracked by gnulib-tool.
psutils_ignore_gnulib_ignore ()
{
    $debug_cmd

    $require_macro_dir

    if test -f "$macro_dir/.gitignore" ; then
      :
    else
      func_verbose "creating initial \`$macro_dir/.gitignore'"
      cat > $macro_dir/.gitignore <<\EOF
# files created by bootstrap, but that gnulib doesn't track
*~
/.gitignore
/gnulib-cache.m4
/gnulib-comp.m4
/libtool.m4
/ltoptions.m4
/ltsugar.m4
/ltversion.m4
/lt~obsolete.m4
EOF
    fi
}
func_add_hook func_prep psutils_ignore_gnulib_ignore


# Local variables:
# mode: shell-script
# sh-indentation: 2
# End: