X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=binary-distribution.sh;h=dea1fc8ad4aeb22d008bc60ba98456527a0b941f;hb=1f704cd4ff7a23e518d6d1565951af7bae0a2a9f;hp=82aabbd2d12ee3582fcb44c1d4a38812f36f819e;hpb=04d819bb1a2e64de4e997203b9516229bb73c686;p=sbcl.git diff --git a/binary-distribution.sh b/binary-distribution.sh index 82aabbd..dea1fc8 100755 --- a/binary-distribution.sh +++ b/binary-distribution.sh @@ -10,16 +10,19 @@ set -e # 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 + if test -d $src_dir && test -f $obj_dir/test-passed.test-report; then + find $src_dir -name CVS -type d -prune -o \! -type d \! -name '.cvsignore' -print fi - done` + done` \ + $b/obj/sbcl-home