misc/release: do xz compression with -9e

Use the -9e compression level when doing xz compression.  It only
saves a few kilobytes, but since our files are pretty small it doesn't
really take all that much time.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2012-02-25 22:49:25 -08:00
parent 0d008c52ab
commit 78d59e370d

View File

@ -56,9 +56,9 @@ rm -f ../nasm-"$version".zip ../nasm-"$version"-xdoc.zip
# Create tarfile (Unix convention: file includes prefix)
mv nasm nasm-"$version"
tar cvvf nasm-"$version".tar nasm-"$version"
xz -9k nasm-"$version".tar
bzip2 -9k nasm-"$version".tar
gzip -9 nasm-"$version".tar
xz -9ek nasm-"$version".tar
bzip2 -9k nasm-"$version".tar
gzip -9 nasm-"$version".tar
mv nasm-"$version".tar.gz nasm-"$version".tar.bz2 nasm-"$version".tar.xz ..
# Create zipfile (DOS convention: no prefix, convert file endings)
@ -85,9 +85,9 @@ find nasm-"$version"/doc -type d -exec rmdir '{}' \; 2>/dev/null || true
# Create doc tarfile
tar cvvf nasm-"$version"-xdoc.tar nasm-"$version"/doc
xz -9k nasm-"$version"-xdoc.tar
bzip2 -9k nasm-"$version"-xdoc.tar
gzip -9 nasm-"$version"-xdoc.tar
xz -9ek nasm-"$version"-xdoc.tar
bzip2 -9k nasm-"$version"-xdoc.tar
gzip -9 nasm-"$version"-xdoc.tar
mv nasm-"$version"-xdoc.tar.gz nasm-"$version"-xdoc.tar.bz2 nasm-"$version"-xdoc.tar.xz ..
# Create doc zipfile (DOS convention: no prefix, convert file endings)