X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fmake-tempfiles.sh;h=f520b227f244d10edb4aacd9edaa9a316fbe02a9;hb=04d819bb1a2e64de4e997203b9516229bb73c686;hp=d2dc7cd73a75ea4539b6177db107560a681f7c92;hpb=53f4147704fbe48c03dd73d7b6a9f92c0a066ed8;p=sbcl.git diff --git a/doc/manual/make-tempfiles.sh b/doc/manual/make-tempfiles.sh index d2dc7cd..f520b22 100644 --- a/doc/manual/make-tempfiles.sh +++ b/doc/manual/make-tempfiles.sh @@ -13,15 +13,21 @@ # We create the documentation from the in-tree sbcl if it is found, # else an installed sbcl is used. -sbclsystem=`pwd`/../../src/runtime/sbcl -sbclcore=`pwd`/../../output/sbcl.core -if [ -e $sbclsystem ] && [ -e $sbclcore ] +if [ -z "$1" ] then - SBCLRUNTIME="${1:-$sbclsystem --core $sbclcore}" - export SBCL_HOME=`pwd`/../../contrib + sbclsystem=`pwd`/../../src/runtime/sbcl + sbclcore=`pwd`/../../output/sbcl.core + if [ -e $sbclsystem ] && [ -e $sbclcore ] + then + SBCLRUNTIME="$sbclsystem --core $sbclcore" + SBCL_HOME=`pwd`/../../contrib/; export SBCL_HOME + SBCL_BUILDING_CONTRIB="please asdf install your hook"; export SBCL_BUILDING_CONTRIB + else + SBCLRUNTIME="`which sbcl`" + fi else - SBCLRUNTIME="${1:-`which sbcl`}" + SBCLRUNTIME="$1" fi SBCL="$SBCLRUNTIME --noinform --sysinit /dev/null --userinit /dev/null --noprint --disable-debugger" @@ -48,10 +54,11 @@ DOCSTRINGDIR="${DOCSTRINGDIR:-docstrings/}" echo /creating docstring snippets from SBCL=\'$SBCLRUNTIME\' for packages \'$PACKAGES\' $SBCL <