91
91
This misleadingly named script bootstraps the project build and provides other
92
useful features. The main options below are probably b, c, C, D and T.
92
useful features. The main options are probably b, c, C, D and T.
94
94
In AutoTools it is usually advisable to perform parallel builds. This means you
95
95
build somewhere other than the project root. This is because building creates
105
105
The last '..' points the way to project root.
107
The full list of arguments to bootstrap.sh are:-
110
during testing and for an AutoTools-only install, some build
111
changes are required. e.g. You may reference an external Java
112
jar in datadir but in AT builds and installations this may
113
expand to /usr/local/share... So a substitution is required for
120
configure the project.
123
perform a normal make distcheck.
126
build with appropriate debug flags.
132
run a make distcheck using a fake AT standard directory as a
133
substitute for an absolute path which distcheck does not
137
run gnulib-tool --update. Checks for the existence of the cache
138
file proj-root/m4/gnulib-cache.m4. If it does not exist the
142
prints usage information.
145
show include stack depth
148
pass --enable-sparse=yes to configure.
151
some build changes may be required for testing purposes. e.g. A
152
script may invoke a project jar file which when installed will
153
be somewhere under datadir, but during testing it is in the
157
perform a make srctarball to build a source tarball.
160
emit extra information
163
prints version information
165
Options b build, C distcheck, D dist, F distcheckfake and T source-tarball are
168
Options a at-only, d debug, F distcheckfake, H header-check, s sparse,
169
t testing-hacks and v verbose are enabled by configure so require option c
107
For the full list of arguments to bootstrap.sh, please refer to the options
108
section of the acmbuild wiki, the options are identical:-
110
https://github.com/m-grant-prg/acmbuild/wiki