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