2003/02/28 00:40:54
[org.ibex.core.git] / Makefile
index 6763e82..6f95c14 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -163,11 +163,11 @@ dist:
                        | grep -v "make...:.\(Entering\|Leaving\).directory"
 
        (test `uname -n` = gosset.megacz.com) && \
-               (make $(silent) dist-private 2>> .make-dist.out >> .make-dist.out || \
-                       (cat .make-dist.out | mail -s "Build $(current_build) FAILED" cvs@xwt.org; false))
+               (((make $(silent) dist-private 2>&1) >> .make-dist.out) || \
+                       (tail -n 200 .make-dist.out | mail -s "Build $(current_build) FAILED" cvs@xwt.org; false))
 
        (test `uname -n` = gosset.megacz.com) && \
-               (cat .make-dist.out | \
+               (tail -n 200 .make-dist.out | \
                        mail -s "Unsigned binaries of $(current_build) are now available" cvs@xwt.org < /dev/null)
 
 dist-private: