clean up a lot, make work with outline mode, and switch functions:

build now builds from scratch, rebuild just runs make.
This commit is contained in:
cgd 1996-04-12 01:33:40 +00:00
parent 9e1fc3f99c
commit 29fe6c8918
2 changed files with 52 additions and 28 deletions

View File

@ -1,15 +1,31 @@
#!/bin/sh -
dirlist=`find . -type d ! \( -name . -o -name CVS \) -prune | \
sed -e s,./,, | sort`
cflist=`cd ../conf ; find . -type f | grep -v '[a-z]' | sed -e 's,^\./,,'`
cflist=NOSY
for dir in $dirlist; do
echo === $dir
echo ""
echo "***"
echo ""
(cd $dir ; time make -k)
echo ""
echo "***"
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

View File

@ -1,23 +1,31 @@
#!/bin/sh -
dirlist=`find . -type d ! \( -name . -o -name CVS \) -prune | \
sed -e s,./,, | sort`
cflist=`cd ../conf ; find . -type f | grep -v '[a-z]' | sed -e 's,^\./,,'`
cflist=NOSY
for dir in $dirlist; do
echo === $dir
echo ""
echo "***"
echo ""
(cd $dir ; time make -k clean)
echo ""
echo "***"
echo ""
(cd $dir ; time make -k depend)
echo ""
echo "***"
echo ""
(cd $dir ; time make -k)
echo ""
echo "***"
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