X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=install.sh;h=a2d30fda761a6a4de79509235df377765b4d5f7f;hb=e21e48c03214e0d0fffba7306e3cbf20e5422279;hp=0a08541775f8a29c363245eac878fa027df6a250;hpb=44dbdff97fbcc1e5b12e1330da92c5a3dcb94a3b;p=sbcl.git diff --git a/install.sh b/install.sh index 0a08541..a2d30fd 100644 --- a/install.sh +++ b/install.sh @@ -5,12 +5,12 @@ ensure_dirs () { for j in $*; do - test -d $j || mkdir $j + test -d $j || mkdir -p $j done; } INSTALL_ROOT=${INSTALL_ROOT-/usr/local} -MAN_DIR=${MAN_DIR-$INSTALL_ROOT/man} +MAN_DIR=${MAN_DIR-$INSTALL_ROOT/share/man} SBCL_SOURCE=`pwd` if [ -n "$SBCL_HOME" -a "$INSTALL_ROOT/lib/sbcl" != "$SBCL_HOME" ];then echo SBCL_HOME environment variable is set, and conflicts with INSTALL_ROOT. @@ -23,7 +23,7 @@ SBCL_HOME=$INSTALL_ROOT/lib/sbcl export SBCL_HOME INSTALL_ROOT ensure_dirs $BUILD_ROOT$INSTALL_ROOT $BUILD_ROOT$INSTALL_ROOT/bin \ $BUILD_ROOT$INSTALL_ROOT/lib \ - $BUILD_ROOT$INSTALL_ROOT/man $BUILD_ROOT$INSTALL_ROOT/man/man1 \ + $BUILD_ROOT$MAN_DIR $BUILD_ROOT$MAN_DIR/man1 \ $BUILD_ROOT$SBCL_HOME $BUILD_ROOT$SBCL_HOME/systems \ $BUILD_ROOT$SBCL_HOME/site-systems @@ -36,7 +36,7 @@ test -f $BUILD_ROOT$SBCL_HOME/sbcl.core && \ cp src/runtime/sbcl $BUILD_ROOT$INSTALL_ROOT/bin/ cp output/sbcl.core $BUILD_ROOT$SBCL_HOME/sbcl.core -cp doc/sbcl.1 $BUILD_ROOT$INSTALL_ROOT/man/man1/ +cp doc/sbcl.1 doc/sbcl-asdf-install.1 $BUILD_ROOT$MAN_DIR/man1/ # installing contrib