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:
parent
9e1fc3f99c
commit
29fe6c8918
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue