More incorrect next_free_page usage.
[sbcl.git] / doc / manual / make-tempfiles.sh
blob02107b15cc77193d71dcce939d9ba36a2282930d
1 #!/bin/sh
3 # Create Texinfo snippets from the documentation of exported symbols.
5 # This software is part of the SBCL system. See the README file for
6 # more information.
8 # This software is in the public domain and is provided with
9 # absolutely no warranty. See the COPYING and CREDITS files for
10 # more information.
12 # how we invoke SBCL
14 # We create the documentation from the in-tree sbcl if it is found,
15 # else an installed sbcl is used.
17 if [ -z "$1" ] ; then
18 SBCL_TOP=../..
19 sbclsystem=$SBCL_TOP/src/runtime/sbcl
20 sbclcore=$SBCL_TOP/output/sbcl.core
21 if [ -f $sbclsystem ] && [ -f $sbclcore ]
22 then
23 SBCLRUNTIME="$sbclsystem --core $sbclcore"
24 SBCL_HOME=$SBCL_TOP/obj/sbcl-home/; export SBCL_HOME
25 else
26 SBCLRUNTIME="`command -v sbcl`"
28 . $SBCL_TOP/output/build-config
29 else
30 SBCLRUNTIME="$1"
31 SBCL_CONTRIB_BLOCKLIST=
33 shift
35 if [ -z "$1" ] ; then
36 DOCSTRINGDIR="${DOCSTRINGDIR:-docstrings/}"
37 else
38 DOCSTRINGDIR="$1"
40 shift
42 ${SBCLRUNTIME} \
43 --noinform --no-sysinit --no-userinit --noprint --disable-debugger \
44 --script generate-texinfo.lisp "${SBCLRUNTIME}" "${DOCSTRINGDIR}" "${SBCL_CONTRIB_BLOCKLIST}"