Currently PREFIX is an internal build.sh variable which is used to emit the --prefix option to all modules.
Make this variable part of the public interface and pick-up the value from the environment. That variable is refered to in 6 places in --help but user cannot set it. Signed-off-by: Gaetan Nadon <[email protected]> --- build.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/build.sh b/build.sh index 8568083..4979fc0 100755 --- a/build.sh +++ b/build.sh @@ -3,6 +3,8 @@ envoptions() { cat << EOF Environment variables specific to build.sh: + PREFIX Install architecture-independent files in PREFIX [/usr/local] + Each module/components is invoked with --prefix QUIET Do not print messages saying which checks are being made Each module/components is invoked with --quite GITROOT Source code repository path [git://anongit.freedesktop.org/git] @@ -971,7 +973,6 @@ usage() { HAVE_ARCH="`uname -i`" DIR_ARCH="" DIR_CONFIG="." -PREFIX="" # perform sanity checks on cmdline args which require arguments # arguments: -- 1.6.0.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
