From 66cbca5408d83014fada99572892416b5d93a71a Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Thu, 10 Nov 2011 13:23:51 +0200 Subject: [PATCH] make it possible to build only selected contribs Not for users as such, but for poking at specific contribs with a faster turnaround. --- make-target-contrib.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/make-target-contrib.sh b/make-target-contrib.sh index b7906d4..bcff011 100644 --- a/make-target-contrib.sh +++ b/make-target-contrib.sh @@ -61,7 +61,15 @@ find output -name 'building-contrib.*' -print | xargs rm -f CL_SOURCE_REGISTRY='(:source-registry :ignore-inherited-configuration)' export CL_SOURCE_REGISTRY -for i in contrib/*; do +if [ -z "$@" ]; then + contribs_to_build=contrib/* +else + for name in $@; do + contribs_to_build="contrib/$name $contribs_to_build" + done +fi + +for i in $contribs_to_build; do test -d $i && test -f $i/Makefile || continue; # export INSTALL_DIR=$SBCL_HOME/`basename $i ` test -f $i/test-passed && rm $i/test-passed -- 1.7.10.4