diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:49:50 +0000 |
commit | 74b60c5712f2a84904b95d008953c140a9bd5dd2 (patch) | |
tree | dd12cc58c6d4cfb5e2c1183f47757295ce3b5662 /bootstrap.conf | |
parent | Initial commit. (diff) | |
download | man-db-74b60c5712f2a84904b95d008953c140a9bd5dd2.tar.xz man-db-74b60c5712f2a84904b95d008953c140a9bd5dd2.zip |
Adding upstream version 2.9.4.upstream/2.9.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bootstrap.conf')
-rw-r--r-- | bootstrap.conf | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf new file mode 100644 index 0000000..a9d97b1 --- /dev/null +++ b/bootstrap.conf @@ -0,0 +1,153 @@ +# Bootstrap configuration. + +# Copyright (C) 2006-2018 Free Software Foundation, Inc. + +# 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_REVISION=d4429157c13b49d1749f5ea18fb30e24ffa646aa + +# gnulib modules used by this package. +gnulib_modules=" + argp + array-list + canonicalize + closedir + dirent + dirname + error + fcntl + flock + fnmatch-gnu + fstat + futimens + getline + getopt-gnu + gettext-h + gitlog-to-changelog + glob + gnupload + hash-map + hash-pjw-bare + hash-set + havelib + idpriv-drop + idpriv-droptemp + lchown + lib-ignore + linkedhash-list + localcharset + lock + manywarnings + memmem + minmax + mkdtemp + mkstemp + nanosleep + nonblocking + openat + opendir + progname + rbtree-list + regex + rename + renameat + setenv + sigaction + signal + sigprocmask + stat-time + stdbool + strcase + strcasestr + strerror + strsep + tempname + timespec + unlinkat + unsetenv + utimens + warnings + xalloc + xgetcwd + xlist + xmap + xset + xstdopen + xstrndup + xvasprintf +" + +gnulib_tool_option_extras="\ + --po-base=gl/ref-po \ + --no-conditional-dependencies \ + --libtool \ + --macro-prefix=gl \ + --po-domain=man-db \ + --no-vc-files \ +" + +# This doesn't currently exist, but we set it to avoid confusion with 'gl' +# as the local output directory. +local_gl_dir=gnulib-local + +gnulib_name=libgnu +source_base=gl/lib +m4_base=gl/m4 + +COPYRIGHT_HOLDER='Colin Watson <cjwatson@debian.org>' +MSGID_BUGS_ADDRESS="$COPYRIGHT_HOLDER" + +# Additional xgettext options to use. Use "\\\newline" to break lines. +XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ + --from-code=UTF-8\\\ + --flag=debug:1:c-format\\\ + --flag=debug_error:1:c-format\\\ +' + +checkout_only_file= +copy=true +vc_ignore= + +SKIP_PO=t + +# Build prerequisites +buildreq="\ +autoconf 2.63 +automake 1.11.2 +autopoint 0.18.3 +gettext 0.18.3 +git 1.5.5 +tar - +" + +bootstrap_post_import_hook () { + patch -s -p1 <patches/argp-domain.patch + + # gnulib-tool installs its own versions of gettext infrastructure files + # such as po/Makefile.in.in, which don't necessarily match our configured + # AM_GNU_GETTEXT_VERSION. To cope with this, we tell gnulib-tool to + # install into a temporary directory (using --po-base above) and fix + # things up here. + cp -a gl/ref-po/LINGUAS gl/ref-po/POTFILES.in gl/po/ + sed 's,^subdir *=.*,subdir = gl/po,' gl/ref-po/Makevars >gl/po/Makevars + if ls gl/ref-po/*.po >/dev/null 2>&1; then + cp -a gl/ref-po/*.po gl/po/ + fi + rm -rf gl/ref-po +} + +bootstrap_epilogue () { + mv INSTALL docs/INSTALL.autoconf +} |