diff --git a/config.sh b/config.sh
index 2a94bc6feada62bcfda616fa573d0a12db0a4502..b03dfffbc5976e69d2d878dbf3b6c545ebcad377 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#*=}
;;