From: Andrew Ruthven Date: Fri, 16 Nov 2007 02:35:48 +0000 (+1300) Subject: Make sure that tarball is created with a prefix. X-Git-Tag: 0.4~4 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aeab9a2b84595fe104dd9317b2a9ecc5aef8c4b;p=mythtv-status.git Make sure that tarball is created with a prefix. --- diff --git a/Makefile b/Makefile index 349114f..6f239a7 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ sponsor: $(orig_tarball) $(tarball): @mkdir -p $(@D) - @git-archive --format=tar $(version) `git-ls-tree --name-only $(version) | egrep -v "(.gitignore|debian|Makefile)"` | gzip > $(tarball) + @git-archive --format=tar --prefix=$(package)-$(version)/ $(version) `git-ls-tree --name-only $(version) | egrep -v "(.gitignore|debian|Makefile)"` | gzip > $(tarball) build/etch/$(deb): @ssh build-etch-i386 "cd `pwd`; $(build)"