- make --silent update-build
- (make --silent new-release-private &> .make-new-release.out) || \
- (cat .make-new-release.out | mail -s "Build $(current_build) FAILED" cvs@xwt.org; false)
- cat .make-new-release.out | \
- mail -s "Unsigned binaries of build $(current_build) are now available" cvs@xwt.org
+ (test `uname -n` = gosset.megacz.com) || \
+ ssh xwt@xwt.org verbose=$(verbose) /home/xwt/dist \
+ | grep -v "make...:.\(Entering\|Leaving\).directory"
+
+ (test `uname -n` = gosset.megacz.com) && \
+ (((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) && \
+ (tail -n 200 .make-dist.out | \
+ mail -s "Unsigned binaries of $(current_build) are now available" cvs@xwt.org < /dev/null)
+
+dist-private:
+ make $(silent) update-build