summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2017-02-04 19:07:35 +0000
committerReuben Thomas <rrt@sc3d.org>2017-02-09 00:28:24 +0000
commitedf662a5ec8db85aa6e5a5d00531ab6b8773131f (patch)
tree959c82306b64d1762bd13f28b494e693f1468ea1 /bootstrap.conf
parent0115a4c6c76bffbb1bd6a6c2497fcec05304ce33 (diff)
downloadenchant-edf662a5ec8db85aa6e5a5d00531ab6b8773131f.tar.gz
Use gnulib to get cross-platform flock, and use it
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf91
1 files changed, 91 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
new file mode 100644
index 0000000..afbea23
--- /dev/null
+++ b/bootstrap.conf
@@ -0,0 +1,91 @@
+# bootstrap.conf (GNU zile) version 2017-02-03
+# Written by Gary V. Vaughan, 2010
+
+# Copyright (C) 2010 Free Software Foundation, Inc.
+
+# This file is part of GNU zile.
+#
+# GNU zile 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 zile 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 <http://www.gnu.org/licenses/>.
+
+
+## -------------- ##
+## Configuration. ##
+## -------------- ##
+
+# File that should exist relative to the top directory of a checked out
+# hierarchy, but not in a distribution tarball.
+checkout_only_file=.gitignore
+
+# List of programs, minimum versions, and software urls required to
+# bootstrap, maintain and release GNU Zile.
+
+# Build prerequisites
+buildreq='
+ git 1.5.5 http://git-scm.com
+ tar - http://www.gnu.org/s/tar
+'
+
+# Non-default gnulib directory options.
+local_gl_dir=gl
+
+# Additional gnulib-tool options to use.
+gnulib_tool_options='
+'
+
+# gnulib modules used by this package.
+gnulib_modules='
+ bootstrap
+ flock
+'
+
+
+## --------------- ##
+## Hook functions. ##
+## --------------- ##
+
+# enchant_ignore_gnulib_ignore
+# -------------------------
+# gnulib-tool updates m4/.gitignore and lib/.gitignore, and keeping
+# generated files under version control does not make sense. Since
+# lib is entirely ignored, we only need to prepopulate the m4 ignore
+# files with generated files not tracked by gnulib-tool.
+enchant_ignore_gnulib_ignore ()
+{
+ $debug_cmd
+
+ $require_macro_dir
+
+ if test -f "$macro_dir/.gitignore" ; then
+ :
+ else
+ func_verbose "creating initial \`$macro_dir/.gitignore'"
+ cat > $macro_dir/.gitignore <<\EOF
+# files created by gnulib, but that gnulib doesn't track
+*~
+.gitignore
+gnulib-comp.m4
+EOF
+ fi
+}
+func_add_hook func_prep enchant_ignore_gnulib_ignore
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "# bootstrap.conf (GNU zile) version "
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "$"
+# End: