X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=binary-distribution.sh;h=c6d3db9dc754cc70543a2db9b9e9380862f41740;hb=5ed095bdfed6d335ccc43ac4b826eeb0bf27963e;hp=90e402c862ae74e7c23d5ca6bb7d38a19c2c7f70;hpb=2066cf61711fbe53128010958c92fe40991568fc;p=sbcl.git diff --git a/binary-distribution.sh b/binary-distribution.sh index 90e402c..c6d3db9 100755 --- a/binary-distribution.sh +++ b/binary-distribution.sh @@ -1,9 +1,9 @@ #!/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 @@ -13,12 +13,13 @@ b=${1:?"missing base directory name argument"} tar -cf $b-binary.tar \ $b/output/sbcl.core $b/src/runtime/sbcl \ $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/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 - echo $dir + `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`