Imported Upstream version 2.8.4
[platform/upstream/man-db.git] / bootstrap.conf
1 # Bootstrap configuration.
2
3 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
4
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
17
18
19 GNULIB_REVISION=900ca5c0b092e50f9f17329feea3fbfe2b6e2139
20
21 # gnulib modules used by this package.
22 gnulib_modules="
23   argp
24   canonicalize
25   closedir
26   dirent
27   dirname
28   error
29   flock
30   fnmatch-gnu
31   fstat
32   futimens
33   getline
34   getopt-gnu
35   gettext-h
36   gitlog-to-changelog
37   glob
38   gnupload
39   idpriv-drop
40   idpriv-droptemp
41   lib-ignore
42   localcharset
43   lock
44   memmem
45   minmax
46   mkdtemp
47   mkstemp
48   nanosleep
49   nonblocking
50   openat
51   opendir
52   progname
53   regex
54   rename
55   setenv
56   sigaction
57   signal
58   sigprocmask
59   stat-time
60   strcasestr
61   strerror
62   strsep
63   timespec
64   unsetenv
65   utimens
66   warnings
67   xalloc
68   xgetcwd
69   xstrndup
70   xvasprintf
71 "
72
73 gnulib_tool_option_extras="\
74  --po-base=gl/ref-po \
75  --no-conditional-dependencies \
76  --libtool \
77  --macro-prefix=gl \
78  --po-domain=man-db \
79  --no-vc-files \
80 "
81
82 # This doesn't currently exist, but we set it to avoid confusion with 'gl'
83 # as the local output directory.
84 local_gl_dir=gnulib-local
85
86 gnulib_name=libgnu
87 source_base=gl/lib
88 m4_base=gl/m4
89
90 COPYRIGHT_HOLDER='Colin Watson <cjwatson@debian.org>'
91 MSGID_BUGS_ADDRESS="$COPYRIGHT_HOLDER"
92
93 # Additional xgettext options to use.  Use "\\\newline" to break lines.
94 XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
95  --from-code=UTF-8\\\
96  --flag=debug:1:c-format\\\
97  --flag=debug_error:1:c-format\\\
98 '
99
100 checkout_only_file=
101 copy=true
102 vc_ignore=
103
104 SKIP_PO=t
105
106 # Build prerequisites
107 buildreq="\
108 autoconf   2.59
109 automake   1.11
110 autopoint  0.18.3
111 gettext    0.18.3
112 git        1.5.5
113 tar        -
114 "
115
116 bootstrap_post_import_hook () {
117   patch -s -p1 <patches/argp-domain.patch
118   patch -s -p1 <patches/fdutimens-hurd.patch
119
120   # gnulib-tool installs its own versions of gettext infrastructure files
121   # such as po/Makefile.in.in, which don't necessarily match our configured
122   # AM_GNU_GETTEXT_VERSION.  To cope with this, we tell gnulib-tool to
123   # install into a temporary directory (using --po-base above) and fix
124   # things up here.
125   cp -a gl/ref-po/LINGUAS gl/ref-po/POTFILES.in gl/po/
126   sed 's,^subdir *=.*,subdir = gl/po,' gl/ref-po/Makevars >gl/po/Makevars
127   if ls gl/ref-po/*.po >/dev/null 2>&1; then
128     cp -a gl/ref-po/*.po gl/po/
129   fi
130   rm -rf gl/ref-po
131 }
132
133 bootstrap_epilogue () {
134   mv INSTALL docs/INSTALL.autoconf
135 }