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"}
14 # FIXME: why include each Makefile in the binary distribution
15 # if by definition everything is already built?
17 tar -cf $b-binary.
tar \
18 $b/output
/sbcl.core
$b/src
/runtime
/sbcl
$b/output
/prefix.def \
19 $b/src
/runtime
/sbcl.mk \
20 `grep '^LIBSBCL=' $b/src/runtime/sbcl.mk | cut -d= -f2- | while read lib; do echo $b/src/runtime/$lib; done` \
21 $b/BUGS
$b/COPYING
$b/CREDITS
$b/INSTALL
$b/NEWS
$b/README \
22 $b/install.sh
$b/find-gnumake.sh
$b/sbcl-pwd.sh
$b/run-sbcl.sh \
25 $b/contrib
/asdf-module.mk \
26 `for contrib in $(cd $b/contrib && echo *); do
27 src_dir=$b/contrib/$contrib
28 if test -d $src_dir && test -f $b/obj/sbcl-home/contrib/$contrib.fasl; then
29 echo $src_dir/Makefile