diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-18 09:45:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-18 09:45:47 +0000 |
commit | 41ae123ec2d77615cd0b0476ff62564bd7a4865f (patch) | |
tree | ba6a57d3a8d7d725a5e0ae64e8401ed3bea0efb9 /sys/arch/alpha/compile | |
parent | 7a0b7f798c45842a34a4c6413f45e1b3824154a5 (diff) |
sync to 0616, retaining local diffs
Diffstat (limited to 'sys/arch/alpha/compile')
-rw-r--r-- | sys/arch/alpha/compile/build_all | 38 | ||||
-rw-r--r-- | sys/arch/alpha/compile/rebuild_all | 48 |
2 files changed, 57 insertions, 29 deletions
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 diff --git a/sys/arch/alpha/compile/rebuild_all b/sys/arch/alpha/compile/rebuild_all index fd619a5bcd5..2a0fa61fbc5 100644 --- a/sys/arch/alpha/compile/rebuild_all +++ b/sys/arch/alpha/compile/rebuild_all @@ -1,23 +1,33 @@ #!/bin/sh - +# +# $NetBSD: rebuild_all,v 1.4.4.1 1996/06/15 03:46:19 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 clean) - echo "" - echo "***" - echo "" - (cd $dir ; time make -k depend) - echo "" - echo "***" - echo "" - (cd $dir ; time make -k) - echo "" - 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 |