X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=binary-distribution.sh;h=234cc4f035a31fa3f28eb4b5e688a195810f7ee5;hb=54752bdd733ae3127d6dca2cc9a16413bf0126f3;hp=144830d26e1682973eed3bc1853074a75cfdbe6e;hpb=94ac5b7c3ff37850210b6fc9a7593cf1c5752993;p=sbcl.git diff --git a/binary-distribution.sh b/binary-distribution.sh index 144830d..234cc4f 100755 --- a/binary-distribution.sh +++ b/binary-distribution.sh @@ -1,18 +1,25 @@ #!/bin/sh +set -e # Create a binary distribution. (make.sh should be run first to create -# the various binary files, and make-doc.sh, or possibly some other -# DocBook-to-HTML converter, should also be run to create the -# HTML version of the documentation.) +# the various binary files, and make-doc.sh should also be run to +# create the HTML version of the documentation.) # (Before sbcl-0.6.10, this was run in the sbcl/ directory and created # a tar file with no directory prefixes. Since sbcl-0.6.10, we've # switched over to trying to do this the way everyone else does.) -b=${1:?missing base directory name argument} +b=${1:?"missing base directory name argument"} tar -cf $b-binary.tar \ - $b/output/sbcl.core $b/src/runtime/sbcl \ + $b/output/sbcl.core $b/src/runtime/sbcl $b/output/prefix.def \ $b/BUGS $b/COPYING $b/CREDITS $b/INSTALL $b/NEWS $b/README \ - $b/install.sh \ + $b/install.sh $b/find-gnumake.sh $b/sbcl-pwd.sh $b/run-sbcl.sh \ $b/doc/sbcl.1 \ - $b/pubring.pgp + $b/pubring.pgp \ + $b/contrib/asdf-module.mk \ + $b/contrib/vanilla-module.mk \ + `for dir in $b/contrib/*; do + if test -d $dir && test -f $dir/test-passed; then + find $dir -name CVS -type d -prune -o \! -type d \! -name '.cvsignore' -print + fi + done`