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