34 lines
485 B
Bash
34 lines
485 B
Bash
#!/bin/sh -
|
|
#
|
|
# $NetBSD: rebuild_all,v 1.6 1996/08/20 22:28:40 cgd Exp $
|
|
|
|
cflist=`cd ../conf ; find . -type f ! -name "*[a-z]*" ! -name ".*" | \
|
|
sed -e 's,^\./,,'`
|
|
|
|
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
|