dist:
# this will fail if we haven't checked-in since the comment is null; we want this.
-# cvs commit -m '' > /dev/null
+ cvs commit -m '' > /dev/null
echo "***********************************************************"
echo "* This build is $(current_build)"
echo "***********************************************************"
- (test `uname -n` = gosset.megacz.com) || \
+ ifeq ($(shell 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)
+ tail -n 200 .make-dist.out | \
+ mail -s "Unsigned binaries of $(current_build) are now available" cvs@xwt.org
+ elsif
ssh xwt@xwt.org verbose=$(verbose) /home/xwt/dist \
| grep -v "make...:.\(Entering\|Leaving\).directory"
+ endif
- (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