-
Notifications
You must be signed in to change notification settings - Fork 6
/
bootstrap.conf
80 lines (68 loc) · 2.16 KB
/
bootstrap.conf
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
# Bootstrap configuration. -*- sh -*-
# Copyright (C) 2016-2023 Free Software Foundation, Inc.
# Copyright (C) 2016-2022 Simon Josefsson
# Copyright (C) 2016,2018 Tim Rühsen
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# gnulib library name
source_base=lib/gl
local_gl_dir=$source_base
tests_base=lib/gl/tests
gnulib_name=libgnu
gnulib_tool_option_extras="--lgpl=2 --without-tests --no-vc-files"
checkout_only_file=.gitignore
gnulib_modules="
c-ctype
git-version-gen
gitlog-to-changelog
intprops
lib-msvc-compat
lib-symbol-versions
lib-symbol-visibility
manywarnings
minmax
readme-release
stdint
strverscmp
update-copyright
valgrind-tests
"
src_gnulib_modules="
getopt-gnu
gettime
progname
read-file
version-etc-fsf
"
# Build prerequisites
buildreq="\
autoconf 2.64
automake 1.13
git 1.4.4
bison -
make -
"
bootstrap_post_import_hook ()
{
# No test modules are used but 'valgrind-tests' make gnulib-tool
# believe we need this.
rm -rf lib/gl/tests
${GNULIB_SRCDIR}/gnulib-tool --import --libtool --m4-base=src/gl/m4 --macro-prefix=sgl --lib=libsgl --source-base=src/gl --local-dir=src/gl --tests-base=src/gl/tests --no-conditional-dependencies --without-tests $src_gnulib_modules
if ! gtkdocize --copy; then
echo "warning: gtkdocize missing -- gtk-doc manual will be missing"
# rm because gtk-doc.make might be a link to a protected file
rm -f gtk-doc.make
echo "EXTRA_DIST =" > gtk-doc.make
echo "CLEANFILES =" >> gtk-doc.make
fi
# Automake requires that ChangeLog exist.
touch ChangeLog || return 1
}