# HG changeset patch # User John W. Eaton # Date 1358192829 18000 # Node ID 0c4eab3a790380002c67fc8210046ac4e1e74295 # Parent dfa81fbfc1f5ca0be6ff98281c2cde564fd1caf9 mk-dist: --stable option diff -r dfa81fbfc1f5 -r 0c4eab3a7903 mk-dist --- 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 - )