1.0.13.38: final part of the debug-name improvements
[sbcl/tcr.git] / make-windows-installer.sh
blob7c89e5febac667123b1e8744fbd0f7d93cf3962f
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 WIX_PATH="${WIX_PATH:-$PROGRAMFILES\WiX}"
14 . ./sbcl-pwd.sh
15 sbcl_pwd
17 cd output
19 "$SBCL_PWD/src/runtime/sbcl" --noinform --core "$SBCL_PWD/output/sbcl.core" \
20 --disable-debugger --no-sysinit --no-userinit \
21 --load ../tools-for-build/rtf.lisp \
22 --load ../tools-for-build/wxs.lisp \
23 --eval '(progn
24 (write-rtf (read-text "../COPYING") "License.rtf")
25 (write-wxs "sbcl.wxs")
26 (with-open-file (f "version.txt"
27 :direction :output
28 :if-exists :supersede)
29 (write-line (lisp-implementation-version) f))
30 (quit))'
32 "$WIX_PATH/candle" sbcl.wxs
33 "$WIX_PATH/light" sbcl.wixobj "$WIX_PATH/wixui.wixlib" \
34 -loc "$WIX_PATH/WixUI_en-us.wxl" \
35 -out sbcl-`cat version.txt`.msi