From c07a76e41037530bfdcd9905a8610ce212688956 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:56:00 +0000 Subject: [PATCH] 2003/02/28 03:19:33 darcs-hash:20040130065600-2ba56-d3012adc51101e5cd6d15a63af1345554c698ac5.gz --- Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 6f95c14..4e361a8 100644 --- a/Makefile +++ b/Makefile @@ -152,23 +152,22 @@ current_build := $(shell cat next.build) 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 -- 1.7.10.4