summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2021-03-24 18:45:45 +0300
committerKonstantin Pavlov <thresh@nginx.com>2021-03-24 18:45:45 +0300
commitb33babcedaa032b901aa37aa57da46e6116509f0 (patch)
tree66598cd85fa7f58f9641e63f036390830cc136dc /auto/options
parent6d7c6196e1ac412d1d9763c73e87afcd1cbf0ac4 (diff)
downloadunit-b33babcedaa032b901aa37aa57da46e6116509f0.tar.gz
unit-b33babcedaa032b901aa37aa57da46e6116509f0.tar.bz2
Added build system support for a man page.
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/options b/auto/options
index b6007bc2..572d8a9b 100644
--- a/auto/options
+++ b/auto/options
@@ -59,6 +59,7 @@ do
--sbindir=*) NXT_SBINDIR="$value" ;;
--libdir=*) NXT_LIBDIR="$value" ;;
--incdir=*) NXT_INCDIR="$value" ;;
+ --mandir=*) NXT_MANDIR="$value" ;;
--modules=*) NXT_MODULES="$value" ;;
--state=*) NXT_STATE="$value" ;;
--tmp=*) NXT_TMP="$value" ;;
@@ -144,6 +145,11 @@ case "$NXT_INCDIR" in
*) NXT_INCDIR="$NXT_PREFIX$NXT_INCDIR" ;;
esac
+case "$NXT_MANDIR" in
+ /*) ;;
+ *) NXT_MANDIR="$NXT_PREFIX$NXT_MANDIR" ;;
+esac
+
case "$NXT_MODULES" in
/*) ;;
*) NXT_MODULES="$NXT_PREFIX$NXT_MODULES" ;;