X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fmake-tempfiles.sh;h=aac4bb1218860a8eacb8cf84d14ca5d1ff0f65b0;hb=f25039178959a9b302b3399dd04a4d7ba492674d;hp=dc7a6c70b4ab5d1d69e43222f57a6d19a7d43d5b;hpb=a02f0965d8da367bbf739dc8a7cb8628210d3cf1;p=sbcl.git diff --git a/doc/manual/make-tempfiles.sh b/doc/manual/make-tempfiles.sh index dc7a6c7..aac4bb1 100644 --- a/doc/manual/make-tempfiles.sh +++ b/doc/manual/make-tempfiles.sh @@ -16,12 +16,16 @@ if [ -z "$1" ] then - sbclsystem=`pwd`/../../src/runtime/sbcl - sbclcore=`pwd`/../../output/sbcl.core - if [ -e $sbclsystem ] && [ -e $sbclcore ] + . ../../sbcl-pwd.sh + sbcl_pwd + + sbclsystem=$SBCL_PWD/../../src/runtime/sbcl + sbclcore=$SBCL_PWD/../../output/sbcl.core + if [ -f $sbclsystem ] && [ -f $sbclcore ] then SBCLRUNTIME="$sbclsystem --core $sbclcore" - SBCL_HOME=`pwd`/../../contrib; export SBCL_HOME + SBCL_HOME=$SBCL_PWD/../../contrib/; export SBCL_HOME + SBCL_BUILDING_CONTRIB="please asdf install your hook"; export SBCL_BUILDING_CONTRIB else SBCLRUNTIME="`which sbcl`" fi @@ -29,10 +33,10 @@ else SBCLRUNTIME="$1" fi -SBCL="$SBCLRUNTIME --noinform --sysinit /dev/null --userinit /dev/null --noprint --disable-debugger" +SBCL="$SBCLRUNTIME --noinform --no-sysinit --no-userinit --noprint --disable-debugger" # extract version and date -VERSION=`$SBCL --eval '(write-line (lisp-implementation-version))' --eval '(sb-ext:quit)'` +VERSION=`$SBCL --eval '(write-line (lisp-implementation-version))' --eval '(sb-ext:exit)'` MONTH=`date "+%Y-%m"` sed -e "s/@VERSION@/$VERSION/" \ @@ -53,17 +57,31 @@ DOCSTRINGDIR="${DOCSTRINGDIR:-docstrings/}" echo /creating docstring snippets from SBCL=\'$SBCLRUNTIME\' for packages \'$PACKAGES\' $SBCL <