]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Don't ship .gitignore or debian in the tarball.
authorAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Fri, 16 Nov 2007 01:54:42 +0000 (14:54 +1300)
committerAndrew Ruthven <andrew@cerberus.etc.gen.nz>
Fri, 16 Nov 2007 01:54:42 +0000 (14:54 +1300)
Makefile

index 5fa38e7b7cf1dedbc970ac9546271d9666acde9e..6cd79b469791eea853675c04026857c8cc9db413 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ release: $(RELEASE_FILES)
 
 $(tarball):
        @mkdir -p $(@D)
-       @git-archive --format=tar $(version) | gzip > $(tarball)
+       @git-archive --format=tar $(version) `git-ls-tree --name-only $(version) | grep -v .gitignore | grep -v debian` | gzip > $(tarball)
 
 build/etch/$(deb): 
        @ssh build-etch-i386 "cd `pwd`; $(build)"