From 62668627d9ce5c091276e1640478f0df04c35c0f Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 20 Dec 2012 08:45:47 +0400 Subject: Document configure-options/configure-env --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 1ebdc22..c07eac0 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,17 @@ You can tune building by defining variables like `configure-options.FOO`, e. g.: This module defines configure, build and install targets by GNU autotools. These targets are implicit (e. g. `configure-%-stamp`), and you can completely override any of them by explicit target (e. g. `configure-foo-stamp`) in the top Makefile. + +Variable `configure` holds the name of the configure script ("$(sourcedir)/configure" by default). +You can redefine it if the configure script is not in the top source directory or has a different name. + +Use the `configure-options` variable to append or replace options passed to the configure script. +Use the `configure-options.` to define variant specific options (see above). + +Variable `configure-env` holds environment variables for the configure script, +such as CC, CFLAGS, LDFLAGS etc. As usual, you can append or completely replace them. +Use the `configure-env.` to define variant specific environment variant. + Build and install targets use target-specific variable `target` for invoking `make`. This variable is empty for `build-%-stamp` and is set to "install" for `install-%-stamp`. You can redefine it in the top Makefile to build/install only a subset of a package. E. g. -- cgit v1.2.3