blob: 96af3f1c30b6616e1c606fd349a9497560c7863e [file] [log] [blame]
# bootstrap.conf (GNU M4) version 2025-04-06
# Written by Gary V. Vaughan, 2010
# Copyright (C) 2010, 2014, 2016-2017, 2020-2025 Free Software
# Foundation, Inc.
# This file is part of GNU M4.
#
# GNU M4 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.
#
# GNU M4 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/>.
## -------------- ##
## Configuration. ##
## -------------- ##
# List of programs (and minimum versions) required to bootstrap, maintain
# and release M4.
buildreq='
help2man 1.29 https://www.gnu.org/s/help2man
makeinfo 7.0 https://www.gnu.org/s/texinfo
xz - http://tukaani.org/xz
'
# Owner of the copyright of this package.
copyright_holder='Free Software Foundation, Inc.'
# Instructions on how to install packages in $buildreq.
buildreq_readme=HACKING
# A file only visible in a vcs working directory.
checkout_only_file=HACKING
# Additional gnulib-tool options to use.
gnulib_tool_options=$gnulib_tool_options'
--no-libtool
'
# Favor the bootstrap from https://github.com/gnulib-modules/bootstrap
local_gl_path=gl-mod/bootstrap:gl
gnulib_git_submodules=gl-mod/bootstrap
# What ignore files to maintain.
vc_ignore=".cvsignore .gitignore"
## --------------- ##
## Hook functions. ##
## --------------- ##
# m4_install_texinfo_diff_driver
# ------------------------------
# Help git to do a better job of merging texinfo files.
m4_install_texinfo_diff_driver ()
{
$debug_cmd
$require_git
test true = "$GIT" || {
if $GIT config diff.texinfo.funcname >/dev/null ; then
:
else
func_echo "initializing git texinfo diff driver"
git config diff.texinfo.funcname '^@node[ \t][ \t]*\\([^,][^,]*\\)'
fi
}
}
func_add_hook func_prep m4_install_texinfo_diff_driver
# Local variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "# bootstrap.conf (GNU M4) version "
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "$"
# End: