aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-20 08:45:47 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-20 08:45:47 +0400
commit62668627d9ce5c091276e1640478f0df04c35c0f (patch)
treed851555781b2306621b3b3c6bf392ef12d4a24a3
parente2d396ab55e0fe32606a6b588fcd5ee51a43779b (diff)
downloadcibs-62668627d9ce5c091276e1640478f0df04c35c0f.tar.gz
Document configure-options/configure-env
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
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.<variant>` 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.<variant>` 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.