Properly pprint literal functions inside nested lists.
[sbcl/nyef.git] / make-windows-installer.sh
blob3b10048a6ad2927c254d63ec439cce86e525a231
1 #!/bin/sh
3 # This software is part of the SBCL system. See the README file for
4 # more information.
6 # This software is derived from the CMU CL system, which was
7 # written at Carnegie Mellon University and released into the
8 # public domain. The software is in the public domain and is
9 # provided with absolutely no warranty. See the COPYING and CREDITS
10 # files for more information.
12 if test -n "$WIX_PATH"; then
14 elif test -d "$PROGRAMFILES/WiX Toolset v3.7"; then
15 WIX_PATH="$PROGRAMFILES/WiX Toolset v3.7/bin"
16 elif test -d "$PROGRAMFILES/Windows Installer XML v3.5"; then
17 WIX_PATH="$PROGRAMFILES/Windows Installer XML v3.5/bin"
19 echo "using $WIX_PATH"
21 . ./sbcl-pwd.sh
22 sbcl_pwd
24 cd output
26 "$SBCL_PWD/src/runtime/sbcl" --noinform --core "$SBCL_PWD/output/sbcl.core" \
27 --disable-debugger --no-sysinit --no-userinit \
28 --load ../tools-for-build/rtf.lisp \
29 --load ../tools-for-build/wxs.lisp \
30 --eval '(progn
31 (write-rtf (read-text "../COPYING") "License.rtf")
32 (write-wxs "sbcl.wxs")
33 (with-open-file (f "version.txt"
34 :direction :output
35 :if-exists :supersede)
36 (write-line (lisp-implementation-version) f))
37 (exit))'
39 "$WIX_PATH/candle" sbcl.wxs
40 "$WIX_PATH/light" sbcl.wixobj \
41 -ext "$WIX_PATH/WixUIExtension.dll" -cultures:en-us \
42 -out sbcl-`cat version.txt`.msi