Permalink
Browse files

build: cleanup dist target

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
  • Loading branch information...
1 parent d2cfe13 commit 482e31ffdf85adaf65b7bc93c781baf2493f9f27 @felipec committed Apr 22, 2012
Showing with 2 additions and 7 deletions.
  1. +2 −7 Makefile
View
@@ -53,12 +53,7 @@ clean:
dist: base := gst-av-$(version)
dist:
- git archive --format=tar --prefix=$(base)/ HEAD > /tmp/$(base).tar
- mkdir -p $(base)
- echo $(version) > $(base)/.version
- chmod 664 $(base)/.version
- tar --append -f /tmp/$(base).tar --owner root --group root $(base)/.version
- rm -r $(base)
- gzip /tmp/$(base).tar
+ echo $(version) > .version
+ tar -cJf /tmp/$(base).tar.xz --transform='s#^#$(base)/#' -- `git ls-files` .version
-include *.d

0 comments on commit 482e31f

Please sign in to comment.