Fix data truncation in printf strings
[sbcl.git] / make-windows-installer.sh
blobcb463323663c2d747f5bb3cce4e1da6962bafe84
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-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 (format f "~a-~a-windows-binary"
30 (lisp-implementation-version)
31 #+x86 "x86" #+x86-64 "x86-64"))
32 (exit))'
34 "$WIX_PATH/candle" sbcl.wxs
35 "$WIX_PATH/light" sbcl.wixobj \
36 -ext "$WIX_PATH/WixUIExtension.dll" -cultures:en-us \
37 -out sbcl-`cat version.txt`.msi