[PATCH build 2/2] Include a description of all environment variables which affect build.
Trevor Woerner
twoerner at gmail.com
Sat Aug 7 19:32:57 PDT 2010
From: Trevor Woerner <twoerner at gmail.com>
Expand the documented list of environment variables which can affect
the build to include all environment variables which are currently being
used by the build.
Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
build.sh | 29 ++++++++++++++++++++++-------
1 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/build.sh b/build.sh
index ec5cc16..0bc366b 100755
--- a/build.sh
+++ b/build.sh
@@ -3,13 +3,28 @@
envoptions() {
cat << EOF
global environment variables you may set:
-- CACHE: absolute path to a global autoconf cache
-- QUIET: hush the configure script noise
-- CONFFLAGS: flags to pass to all configure scripts
-- CONFCFLAGS: flags to pass to all configure scripts in ""
-- MAKEFLAGS: flags to pass to all make calls
-- LIBDIR: Path under \$prefix for libraries (e.g., lib64)
-- GITROOT: Path to freedesktop.org git root (default: git://anongit.freedesktop.org/git). Only needed for --clone
+ CACHE: absolute path to a global autoconf cache
+ QUIET: hush the configure script noise
+
+global environment variables you may set to replace default functionality:
+ ACLOCAL: alternate invocation for 'aclocal' (default: aclocal)
+ MAKE: program to use instead of 'make' (default: make)
+ FONTPATH: font path to use (defaults under: \$PREFIX/\$LIBDIR...)
+ LIBDIR: path under \$PREFIX for libraries (e.g., lib64) (default: lib)
+ GITROOT: path to freedesktop.org git root, only needed for --clone
+ (default: git://anongit.freedesktop.org/git)
+
+global environment variables you may set to augment functionality:
+ CONFFLAGS: additional flags to pass to all configure scripts
+ CONFCFLAGS: additional compile flags to pass to all configure scripts
+ MAKEFLAGS: additional flags to pass to all make invocations
+ PKG_CONFIG_PATH: include paths in addition to:
+ \$DESTDIR/\$PREFIX/share/pkgconfig
+ \$DESTDIR/\$PREFIX/\$LIBDIR/pkgconfig
+ LD_LIBRARY_PATH: include paths in addition to:
+ \$DESTDIR/\$PREFIX/\$LIBDIR
+ PATH: include paths in addition to:
+ \$DESTDIR/\$PREFIX/bin
EOF
}
--
1.7.1
More information about the xorg-devel
mailing list