NetBSD/sys/arch/alpha/compile/build_all
cgd 29fe6c8918 clean up a lot, make work with outline mode, and switch functions:
build now builds from scratch, rebuild just runs make.
1996-04-12 01:33:40 +00:00

32 lines
414 B
Bash

#!/bin/sh -
cflist=`cd ../conf ; find . -type f | grep -v '[a-z]' | sed -e 's,^\./,,'`
cflist=NOSY
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