|
Packit Service |
cbd1e2 |
If you are building from GIT, run the script
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
./autogen.sh
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
first, to make sure that you have all the necessary maintainer tools
|
|
Packit Service |
cbd1e2 |
are installed and to build the actual configuration files. If you
|
|
Packit Service |
cbd1e2 |
have just checked out from GIT, you should add the option "--force" to
|
|
Packit Service |
cbd1e2 |
autogen.sh so that meta data is noticed by autom4te.cache. Then run
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
./configure --enable-maintainer-mode
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
followed by the usual make.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
If autogen.sh complains about insufficient versions of the required
|
|
Packit Service |
cbd1e2 |
tools, or the tools are not installed, you may use environment
|
|
Packit Service |
cbd1e2 |
variables to override the default tool names:
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
AUTOMAKE_SUFFIX is used as a suffix for all tools from the automake
|
|
Packit Service |
cbd1e2 |
package. For example
|
|
Packit Service |
cbd1e2 |
AUTOMAKE_SUFFIX="-1.7" ./autogen.sh
|
|
Packit Service |
cbd1e2 |
uses "automake-1.7" and "aclocal-1.7.
|
|
Packit Service |
cbd1e2 |
AUTOMAKE_PREFIX is used as a prefix for all tools from the automake
|
|
Packit Service |
cbd1e2 |
page and may be combined with AUTOMAKE_SUFFIX. e.g.:
|
|
Packit Service |
cbd1e2 |
AUTOMAKE_PREFIX=/usr/foo/bin ./autogen.sh
|
|
Packit Service |
cbd1e2 |
uses "automake" and "aclocal" in the /usr/foo/bin
|
|
Packit Service |
cbd1e2 |
directory.
|
|
Packit Service |
cbd1e2 |
AUTOCONF_SUFFIX is used as a suffix for all tools from the automake
|
|
Packit Service |
cbd1e2 |
package
|
|
Packit Service |
cbd1e2 |
AUTOCONF_PREFIX is used as a prefix for all tools from the automake
|
|
Packit Service |
cbd1e2 |
package
|
|
Packit Service |
cbd1e2 |
GETTEXT_SUFFIX is used as a suffix for all tools from the gettext
|
|
Packit Service |
cbd1e2 |
package
|
|
Packit Service |
cbd1e2 |
GETTEXT_PREFIX is used as a prefix for all tools from the gettext
|
|
Packit Service |
cbd1e2 |
package
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
It is also possible to use the variable name AUTOMAKE, AUTOCONF,
|
|
Packit Service |
cbd1e2 |
ACLOCAL, AUTOHEADER, GETTEXT and MSGMERGE to directly specify the name
|
|
Packit Service |
cbd1e2 |
of the programs to run. It is however better to use the suffix and
|
|
Packit Service |
cbd1e2 |
prefix forms as described above because that does not require
|
|
Packit Service |
cbd1e2 |
knowledge about the actual tools used by autogen.sh.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
Please don't use autopoint, libtoolize or autoreconf unless you are
|
|
Packit Service |
cbd1e2 |
the current maintainer and want to update the standard configuration
|
|
Packit Service |
cbd1e2 |
files. All those files should be in GIT and only updated manually
|
|
Packit Service |
cbd1e2 |
if the maintainer decides that newer versions are required. The
|
|
Packit Service |
cbd1e2 |
maintainer should also make sure that the required version of automake
|
|
Packit Service |
cbd1e2 |
et al. are properly indicated at the top of configure.ac and take care
|
|
Packit Service |
cbd1e2 |
to copy the files and not merely use symlinks.
|