From: megacz Date: Fri, 30 Jan 2004 06:53:39 +0000 (+0000) Subject: 2003/02/27 01:23:48 X-Git-Tag: RC3~1343 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=72ba5088cb6246ca3572adc29b6f94e93a95a412;p=org.ibex.core.git 2003/02/27 01:23:48 darcs-hash:20040130065339-2ba56-1075c5039b99ef9d08f1683f1dcf1ea189e2b295.gz --- diff --git a/Makefile b/Makefile index f164467..f93ba5b 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ all_platforms := Win32 Linux Java2 ## Platform-Neutral ########################################################################### -.SILENT: new-release update-build $(jikes_java_objects) .headers $(gcj_java_objects) $(all_platforms) PalmOS bin/org/xwt/builtin.xwar +.SILENT: dist update-build $(jikes_java_objects) .headers $(gcj_java_objects) $(all_platforms) PalmOS bin/org/xwt/builtin.xwar compile: $(jikes_java_objects) bin/org/xwt/builtin.xwar @@ -139,20 +139,25 @@ PalmOS: current_build := $(shell cat next.build) -new-release: +nohup-dist: + rm .make-dist.out + touch .make-dist.out + (nice -n 19 nohup make dist &>/dev/null) & tail -f .make-dist.out + +dist: test `uname -n` = gosset.megacz.com || \ - (echo -e "um, new-release is only intended for use on xwt.org...\nedit the Makefile if you really know what you're doing."; false) + (echo -e "um, dist is only intended for use on xwt.org...\nedit the Makefile if you really know what you're doing."; false) echo "***********************************************************" echo "* This build is $(current_build)" echo "***********************************************************" 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 | \ + (make --silent dist-private &> .make-dist.out) || \ + (cat .make-dist.out | mail -s "Build $(current_build) FAILED" cvs@xwt.org; false) + cat .make-dist.out | \ mail -s "Unsigned binaries of build $(current_build) are now available" cvs@xwt.org -new-release-private: +dist-private: # preserve gcc across builds so we don't have to remake it mv gcc/Makefile Makefile.gcc mkdir -p ~/dist.xwt.org-gcc