From: John Hodge Date: Sun, 21 Aug 2011 08:44:22 +0000 (+0800) Subject: Release set script added, assumes mtools b:\ is destination X-Git-Tag: rel0.11~139 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8cdfb89a8934b699a8165b001a9d6dcc036b8fea;p=tpg%2Facess2.git Release set script added, assumes mtools b:\ is destination --- diff --git a/.gitignore b/.gitignore index eb1e7d66..bd06742c 100644 --- a/.gitignore +++ b/.gitignore @@ -34,5 +34,5 @@ gitstats/ .* *.res.h - +Dist/ obj-*/ diff --git a/MakeReleaseSet b/MakeReleaseSet new file mode 100755 index 00000000..5d5bbd7c --- /dev/null +++ b/MakeReleaseSet @@ -0,0 +1,14 @@ +#!/bin/sh +rm -rf Dist +if [ $# -gt 1 ]; then + for arch in $*; do + echo $arch + BUILD_DIST=y ARCH=$arch make install + done +else + BUILD_DIST=y make install +fi +tar -zcf Acess2_latest_bin.tar.gz Dist/* +mdeltree b:/Acess2 +mcopy -s Dist/ b:/Acess2 +gzip -c AcessRelease.img > Acess2_latest.img.gz