1# bootstrap.conf (psutils)
2# Written by Gary V. Vaughan, 2010
3
4# Copyright (C) 2010 Gary V. Vaughan.
5
6# This file is part of psutils.
7# See LICENSE for license.
8
9## -------------- ##
10## Configuration. ##
11## -------------- ##
12
13# Additional gnulib-tool options to use.
14gnulib_tool_options='
15'
16
17# gnulib modules used by this package.
18# FIXME: progname should not be needed
19gnulib_modules='
20	warnings
21	manywarnings
22	binary-io
23	fseeko
24	fstat
25	ftello
26	getopt-gnu
27	getline
28	progname
29	unistd
30	verror
31	xvasprintf
32'
33
34# Extra gnulib files that are not in modules, which override files of
35# the same name installed by other bootstrap tools.
36gnulib_non_module_files='
37        build-aux/config.guess
38        build-aux/config.sub
39        build-aux/install-sh
40'
41
42# The not-synced with gnulib warning is bogus until upstream adopts
43# the saner bootstrap script.
44require_bootstrap_uptodate=:
45
46## --------------- ##
47## Hook functions. ##
48## --------------- ##
49
50# psutils_ignore_gnulib_ignore
51# ----------------------------
52# gnulib-tool updates m4/.gitignore and lib/.gitignore, and keeping
53# generated files under version control does not make sense.  Since
54# lib is entirely ignored, we only need to prepopulate the m4 ignore
55# files with generated files not tracked by gnulib-tool.
56psutils_ignore_gnulib_ignore ()
57{
58    $debug_cmd
59
60    $require_macro_dir
61
62    if test -f "$macro_dir/.gitignore" ; then
63      :
64    else
65      func_verbose "creating initial \`$macro_dir/.gitignore'"
66      cat > $macro_dir/.gitignore <<\EOF
67# files created by bootstrap, but that gnulib doesn't track
68*~
69/.gitignore
70/gnulib-cache.m4
71/gnulib-comp.m4
72/libtool.m4
73/ltoptions.m4
74/ltsugar.m4
75/ltversion.m4
76/lt~obsolete.m4
77EOF
78    fi
79}
80func_add_hook func_prep psutils_ignore_gnulib_ignore
81
82
83# Local variables:
84# mode: shell-script
85# sh-indentation: 2
86# End:
87