NetBSD/sys/arch/alpha/compile/rebuild_all

33 lines
469 B
Plaintext
Raw Normal View History

#!/bin/sh -
#
# $NetBSD: rebuild_all,v 1.3 1996/04/12 20:22:16 cgd Exp $
cflist=`cd ../conf ; find . -type f | grep -v '[a-z]' | sed -e 's,^\./,,'`
docmd()
{
echo " ===> $*"
# echo " eval ($*)"
eval "($*)"
echo " <==="
}
docf()
{
echo "===> $1"
(
cd $cf
# docmd "cd ../../conf ; config $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