Mercurial > mxe-octave
changeset 2957:0c4eab3a7903
mk-dist: --stable option
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 14 Jan 2013 14:47:09 -0500 |
parents | dfa81fbfc1f5 |
children | 04791633efbc |
files | mk-dist |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mk-dist Fri Jan 11 22:33:56 2013 -0500 +++ b/mk-dist Mon Jan 14 14:47:09 2013 -0500 @@ -4,6 +4,7 @@ jobs=9 +OCTAVE_TARGET=octave while [ $# -gt 0 ]; do case "$1" in --jobs) @@ -16,6 +17,10 @@ exit 1 fi ;; + --stable) + OCTAVE_TARGET=stable-octave + shift + ;; *) echo "mk-dist: unrecognized option: $1" 1>&2 exit 1 @@ -35,7 +40,7 @@ mkdir -p dist/octave echo "building octave and dependencies..." -make octave msys-base native-gcc native-binutils JOBS=$jobs +make $OCTAVE_TARGET msys-base native-gcc native-binutils octave-forge-packages JOBS=$jobs echo "generating lists of files to exclude..." @@ -55,6 +60,7 @@ cd $TOPDIR/usr/$TARGET tar -c -h -X $TOPDIR/excluded-gcc-files -f - . | ( cd $TOPDIR/dist/octave ; tar xpf - ) + echo " native tools..." cd $TOPDIR/native-tools/usr tar -c -h -X $TOPDIR/excluded-native-files -f - . | ( cd $TOPDIR/dist/octave ; tar xpf - )