From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwsKU-0003r2-49 for qemu-devel@nongnu.org; Thu, 02 Aug 2012 06:08:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwsKO-000156-EP for qemu-devel@nongnu.org; Thu, 02 Aug 2012 06:08:30 -0400 Received: from speedy.comstyle.com ([206.51.28.2]:23857 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwsKN-00014x-VD for qemu-devel@nongnu.org; Thu, 02 Aug 2012 06:08:24 -0400 Received: from rox.home.comstyle.com (unknown [IPv6:2001:470:b01e:3:7c35:6b7f:97f4:641f]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id B5C8712731 for ; Thu, 2 Aug 2012 06:08:17 -0400 (EDT) Date: Thu, 2 Aug 2012 06:08:16 -0400 From: Brad Smith Message-ID: <20120802100815.GG18868@rox.home.comstyle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] build: change dist target to use xz List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org If a compression format other than gzip is used we might as well move to xz instead of bzip2. 11.0M qemu-1.1.1-1.tar.gz 9.2M qemu-1.1.1-1.tar.bz2 7.3M qemu-1.1.1-1.tar.xz --- Makefile | 6 +++--- scripts/make-release | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 621cb86..9fbaa0e 100644 --- a/Makefile +++ b/Makefile @@ -234,10 +234,10 @@ clean: VERSION ?= $(shell cat VERSION) -dist: qemu-$(VERSION).tar.bz2 +dist: qemu-$(VERSION).tar.xz -qemu-%.tar.bz2: - $(SRC_PATH)/scripts/make-release "$(SRC_PATH)" "$(patsubst qemu-%.tar.bz2,%,$@)" +qemu-%.tar.xz: + $(SRC_PATH)/scripts/make-release "$(SRC_PATH)" "$(patsubst qemu-%.tar.xz,%,$@)" distclean: clean rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi diff --git a/scripts/make-release b/scripts/make-release index 196c755..2237afd 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -20,5 +20,5 @@ git checkout "v${version}" git submodule update --init rm -rf .git roms/*/.git popd -tar cfj ${destination}.tar.bz2 ${destination} +XZ_OPT=-9 tar cfJ ${destination}.tar.xz ${destination} rm -rf ${destination} -- 1.7.6 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.