X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=binary-distribution.sh;h=e08e28ee2ca44bf53bc041ed37309c425b30edc2;hb=HEAD;hp=6054554cb034002ac9b9f3b8bffdc6a89d8b48d0;hpb=d336ca31c57c48cfda3e3b5510c52c91e6e8f7b9;p=sbcl.git diff --git a/binary-distribution.sh b/binary-distribution.sh index 6054554..e08e28e 100755 --- a/binary-distribution.sh +++ b/binary-distribution.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e # Create a binary distribution. (make.sh should be run first to create # the various binary files, and make-doc.sh should also be run to @@ -9,16 +10,21 @@ # switched over to trying to do this the way everyone else does.) 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/SUPPORT \ - $b/install.sh $b/find-gnumake.sh \ + $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/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 contrib in $(cd $b/contrib && echo *); do + src_dir=$b/contrib/$contrib + cache_dir=$b/obj/asdf-cache/$contrib + if test -d $src_dir && test -f $cache_dir/test-passed.test-report; then + echo $src_dir/Makefile + echo $cache_dir/test-passed.test-report fi - done` + done` \ + $b/obj/sbcl-home