mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -06:00
build: Set mandir only on Darwin when configuring Discount.
This commit is contained in:
parent
5c121c3060
commit
6eb2679af5
@ -5,6 +5,7 @@ SELF="${BASH_SOURCE[0]}"
|
||||
BASE_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd -P)
|
||||
BASE_DIR="${BASE_DIR:-$(pwd)}"
|
||||
TOOLS_DIR="${BASE_DIR}/tools"
|
||||
SYSTEM_NAME=$(uname -s)
|
||||
|
||||
# discount
|
||||
function build_discount {
|
||||
@ -12,7 +13,11 @@ function build_discount {
|
||||
if make clean; then
|
||||
make distclean
|
||||
fi
|
||||
./configure.sh --mandir=/usr/local/share/man
|
||||
if [[ "${SYSTEM_NAME}" == "Darwin" ]]; then
|
||||
./configure.sh --mandir=/usr/local/share/man
|
||||
else
|
||||
./configure.sh
|
||||
fi
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user