32 lines
414 B
Bash
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
|