1995-11-23 05:33:17 +03:00
|
|
|
#!/bin/sh -
|
1996-04-13 00:22:14 +04:00
|
|
|
#
|
|
|
|
# $NetBSD: rebuild_all,v 1.3 1996/04/12 20:22:16 cgd Exp $
|
1995-11-23 05:33:17 +03:00
|
|
|
|
1996-04-12 05:33:40 +04:00
|
|
|
cflist=`cd ../conf ; find . -type f | grep -v '[a-z]' | sed -e 's,^\./,,'`
|
1995-11-23 05:33:17 +03:00
|
|
|
|
1996-04-12 05:33:40 +04:00
|
|
|
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
|
1995-11-23 05:33:17 +03:00
|
|
|
done
|