From 41ae123ec2d77615cd0b0476ff62564bd7a4865f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 18 Jun 1996 09:45:47 +0000 Subject: sync to 0616, retaining local diffs --- sys/arch/alpha/compile/build_all | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'sys/arch/alpha/compile/build_all') diff --git a/sys/arch/alpha/compile/build_all b/sys/arch/alpha/compile/build_all index a0a470cd77d..abd8fe68ac8 100644 --- a/sys/arch/alpha/compile/build_all +++ b/sys/arch/alpha/compile/build_all @@ -1,15 +1,33 @@ #!/bin/sh - +# +# $NetBSD: build_all,v 1.4.4.1 1996/06/15 03:46:17 cgd Exp $ -dirlist=`find . -type d ! \( -name . -o -name CVS \) -prune | \ - sed -e s,./,, | sort` +cflist=`cd ../conf ; find . -type f ! -name "*[a-z.]*" ! -name ".*" | \ + sed -e 's,^\./,,'` -for dir in $dirlist; do - echo === $dir - echo "" - echo "***" - echo "" - (cd $dir ; time make -k) - echo "" - echo "***" +docmd() +{ + + echo " ===> $*" +# echo " eval ($*)" + eval "($*)" + echo " <===" +} + +docf() +{ + echo "===> $1" + ( + docmd "cd ../conf ; config $cf" + cd $cf + docmd "time make -k clean" + docmd "time make -k depend" + docmd "time make -k" + ) + echo "<===" echo "" +} + +for cf in $cflist; do + docf $cf done -- cgit v1.2.3