This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
forked from luaposix/luaposix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.conf
134 lines (111 loc) · 3.18 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# bootstrap.conf (luaposix) version 2015-01-01
# Written by Gary V. Vaughan, 2010
# Copyright (C) 2010-2015 Gary V. Vaughan
# This file is part of luaposix.
# See README for license.
## -------------- ##
## Configuration. ##
## -------------- ##
# List of programs, minimum versions, and download urls required to
# bootstrap, maintain and release this project.
buildreq='
git - http://git-scm.com
help2man 1.29 http://www.gnu.org/s/help2man
ldoc 1.4.2 http://rocks.moonscript.org/manifests/steved/ldoc-1.4.2-1.rockspec
specl 14.1.0 http://rocks.moonscript.org/manifests/gvvaughan/specl-14.1.0-1.rockspec
'
# List of slingshot files to link into stdlib tree before autotooling.
slingshot_files='
.autom4te.cfg
GNUmakefile
Makefile.am
build-aux/do-release-commit-and-tag
build-aux/gitlog-to-changelog
build-aux/mkrockspecs
build-aux/release.mk
build-aux/rockspecs.mk
build-aux/sanity.mk
build-aux/specl.mk
build-aux/update-copyright
m4/ax_lua.m4
travis.yml.in
'
# Prequisite rocks that need to be installed for travis builds to work.
travis_extra_rocks='
ansicolors
ldoc
specl
'
# Additional gnulib-tool options to use.
gnulib_tool_options='
--no-changelog
--avoid=dummy
'
# gnulib modules used by this package.
gnulib_modules='
warnings
manywarnings
'
# Extra gnulib files that are not in modules, which override files of
# the same name installed by other bootstrap tools.
gnulib_non_module_files='
doc/INSTALL
build-aux/config.guess
build-aux/config.sub
build-aux/install-sh
'
# We don't actually use any gnulib C code, but that's no reason to
# let the defaults nuke our lib directory!
source_base=unused
## --------------- ##
## Hook functions. ##
## --------------- ##
# Even though we don't get our gitlog-to-changelog from gnulib, this
# function is still useful to us!
func_add_hook func_gnulib_tool func_ensure_changelog
# luaposix_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.
luaposix_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 bootstrap, but that gnulib doesn't track
*~
/.gitignore
/gnulib-cache.m4
/gnulib-comp.m4
/libtool.m4
/ltoptions.m4
/ltsugar.m4
/ltversion.m4
/lt~obsolete.m4
EOF
fi
}
func_add_hook func_prep luaposix_ignore_gnulib_ignore
# luaposix_remove_empty_lib
# -------------------------
# No need to maintain the always empty lib subdir.
luaposix_remove_empty_lib ()
{
$debug_cmd
rm -rf $source_base
}
func_add_hook func_gnulib_tool luaposix_remove_empty_lib
# Local variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "# bootstrap.conf (luaposix) version "
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "$"
# End: