0.9.7:
[sbcl/lichteblau.git] / binary-distribution.sh
blob8266154c68e02f70669127752a9d041e1e01b69f
1 #!/bin/sh
2 set -e
4 # Create a binary distribution. (make.sh should be run first to create
5 # the various binary files, and make-doc.sh should also be run to
6 # create the HTML version of the documentation.)
8 # (Before sbcl-0.6.10, this was run in the sbcl/ directory and created
9 # a tar file with no directory prefixes. Since sbcl-0.6.10, we've
10 # switched over to trying to do this the way everyone else does.)
12 b=${1:?"missing base directory name argument"}
13 tar -cf $b-binary.tar \
14 $b/output/sbcl.core $b/src/runtime/sbcl \
15 $b/BUGS $b/COPYING $b/CREDITS $b/INSTALL $b/NEWS $b/README $b/SUPPORT \
16 $b/install.sh $b/find-gnumake.sh \
17 $b/doc/sbcl.1 \
18 $b/pubring.pgp \
19 $b/contrib/asdf-module.mk \
20 $b/contrib/vanilla-module.mk \
21 `for dir in $b/contrib/*; do
22 if test -d $dir && test -f $dir/test-passed; then
23 echo $dir
25 done`