configure: added logic to be able to define MANPATH on command line.
This commit is contained in:
parent
1a6e1a58a7
commit
9431660785
4
configure
vendored
4
configure
vendored
@ -19,6 +19,9 @@ while true; do
|
|||||||
--prefix)
|
--prefix)
|
||||||
[ -z "$2" ] && echo "Missing argument" && exit 1
|
[ -z "$2" ] && echo "Missing argument" && exit 1
|
||||||
PREFIX=$2; shift 2;;
|
PREFIX=$2; shift 2;;
|
||||||
|
--man-prefix)
|
||||||
|
[ -z "$2" ] && echo "Missing argument" && exit 1
|
||||||
|
MANPREFIX=$2; shift 2;;
|
||||||
--xdg-config-dir)
|
--xdg-config-dir)
|
||||||
[ -z "$2" ] && echo "Missing argument" && exit 1
|
[ -z "$2" ] && echo "Missing argument" && exit 1
|
||||||
XDG_CONFIG_DIR=$2; shift 2;;
|
XDG_CONFIG_DIR=$2; shift 2;;
|
||||||
@ -27,6 +30,7 @@ while true; do
|
|||||||
--without-xinerama : compile without xinerama support
|
--without-xinerama : compile without xinerama support
|
||||||
--without-imlib2 : compile without imlib2 support
|
--without-imlib2 : compile without imlib2 support
|
||||||
--prefix DIRECTORY : install binary with specified prefix (default $PREFIX)
|
--prefix DIRECTORY : install binary with specified prefix (default $PREFIX)
|
||||||
|
--man-prefix DIRECTORY : install binary with specified prefix (default $PREFIX)
|
||||||
--xdg-config-dir DIRECTORY : install configuration to specified directory (default $XDG_CONFIG_DIR)"
|
--xdg-config-dir DIRECTORY : install configuration to specified directory (default $XDG_CONFIG_DIR)"
|
||||||
exit 0;;
|
exit 0;;
|
||||||
*) break;;
|
*) break;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user