From e15aca171dd5a3d1954699252540bda2c832a8fa Mon Sep 17 00:00:00 2001 From: Eyal Sawady Date: Thu, 24 Sep 2020 14:39:36 -0400 Subject: [PATCH] configure: add --libdir --- config.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/config.sh b/config.sh index e1dfa97..0c8453b 100644 --- a/config.sh +++ b/config.sh @@ -9,8 +9,16 @@ SCDOC=${SCDOC:-scdoc} for arg do - # TODO: Add args for install directories case "$arg" in + --bindir=*) + BINDIR=${arg#*=} + ;; + --libdir=*) + LIBDIR=${arg#*=} + ;; + --mandir=*) + MANDIR=${arg#*=} + ;; --prefix=*) PREFIX=${arg#*=} if [ "$PREFIX" = "/usr" ] @@ -18,15 +26,9 @@ do SYSCONFDIR=/etc fi ;; - --bindir=*) - BINDIR=${arg#*=} - ;; --sysconfdir=*) SYSCONFDIR=${arg#*=} ;; - --mandir=*) - MANDIR=${arg#*=} - ;; esac done