Make stuff regarding debug names much less complex.
[sbcl.git] / make-windows-installer.sh
blobb64b95a21d0741e0c8059cbc753d586a899a093f
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/bin
14 SBCL_TOP=../
15 cd ./output
17 "$SBCL_TOP/src/runtime/sbcl" --noinform --core "$SBCL_TOP/output/sbcl.core" \
18 --disable-debugger --no-sysinit --no-userinit \
19 --load ../tools-for-build/rtf.lisp \
20 --load ../tools-for-build/wxs.lisp \
21 --eval '(progn
22 (write-rtf (read-text "../COPYING") "License.rtf")
23 (write-wxs "sbcl.wxs")
24 (with-open-file (f "version.txt"
25 :direction :output
26 :if-exists :supersede)
27 (format f "~a-~a-windows-binary"
28 (lisp-implementation-version)
29 #+x86 "x86" #+x86-64 "x86-64"))
30 (exit))'
32 "$WIX_PATH/candle" sbcl.wxs
33 "$WIX_PATH/light" sbcl.wixobj \
34 -ext "$WIX_PATH/WixUIExtension.dll" -cultures:en-us \
35 -out sbcl-`cat version.txt`.msi