:
# Make all news stuff
#
# :makeall [-e]
#	to make all public commands underneath this directory
#
# :makeall [-e] install
#	to install all public commands underneath this directory
#


WD=`pwd`
NOTDONEYET="cnews vnews"
DIRS="2.11news rn"
ERRORS=''

for i in $DIRS
do
    (cd $i && echo "WORKING ON: $i" && make ${1+"$@"})
    if [ "$?" != 0 ]
    then
	ERRORS="$ERRORS $i"
    fi
done

if [ "x$ERRORS" != "x" ]
then
    echo "Errors were made in: $ERRORS"
    exit 1
fi

exit 0
