DOC_DIR=${DOC_DIR-$INSTALL_ROOT/share/doc/sbcl}
# Does the environment look sane?
-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.
echo Aborting installation. Unset one or reset the other, then try again
# installing contrib
-SBCL="`pwd`/src/runtime/sbcl --noinform --core `pwd`/output/sbcl.core --no-userinit --no-sysinit --disable-debugger"
+. ./sbcl-pwd.sh
+sbcl_pwd
+
+SBCL="$SBCL_PWD/src/runtime/sbcl --noinform --core $SBCL_PWD/output/sbcl.core --no-userinit --no-sysinit --disable-debugger"
SBCL_BUILDING_CONTRIB=1
export SBCL SBCL_BUILDING_CONTRIB
cp doc/sbcl.1 $BUILD_ROOT$MAN_DIR/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl.1"
# info
-for info in doc/manual/*.info
+for info in doc/manual/*.info doc/manual/*.info-*
do
cp $info $BUILD_ROOT$INFO_DIR/ \
&& echo -n " info $BUILD_ROOT$INFO_DIR/`basename $info` $BUILD_ROOT$INFO_DIR/dir" \