]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Make sure that tarball is created with a prefix.
authorAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Fri, 16 Nov 2007 02:35:48 +0000 (15:35 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Fri, 16 Nov 2007 02:35:48 +0000 (15:35 +1300)
Makefile

index 349114fc135bc739d7ecf30639e08dd3fb131f88..6f239a7d938253328eac4e0071bfa74c64e40c9a 100644 (file)
--- 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)"