From b122d4154b464c5150875c0b1fccdf3fe9a97d1e Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 17 Nov 2015 16:40:11 +0100 Subject: build: Small make dist improvements Use bz2 rather than gz, add version number to the output directory, and use the more portable /dev/stdin instead of /proc/self/fd/0. Change-Id: I90096405ded7eb9102818185482fa27dc4c33b72 Signed-off-by: Christophe Fergeau --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 22f44e5..2064774 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME=spice-nsis VERSION=0.103 DISPLAYED_VERSION=$(VERSION) -ARCHIVE=$(NAME)-$(VERSION).tar.gz +ARCHIVE=$(NAME)-$(VERSION).tar.bz2 # set to OVIRT to build the ovirt guest tools installer MODE=SPICE @@ -158,4 +158,4 @@ GENERATED = \ $(NULL) dist: ovirt-guest-tools-iso.spec - git ls-files | tar --files-from /proc/self/fd/0 -czf "$(ARCHIVE)" --owner=root --group=root --transform 's,^,$(NAME)/,' ovirt-guest-tools-iso.spec + git ls-files | tar --files-from /dev/stdin -jcf "$(ARCHIVE)" --owner=root --group=root --transform 's,^,$(NAME)-$(VERSION)/,' ovirt-guest-tools-iso.spec -- cgit v1.2.3