diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-03-12 21:58:29 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-03-12 21:58:29 +0100 |
commit | fa993b609581ef591472071b77cfb079b9e0dc87 (patch) | |
tree | 9e81435d4cdb1dc6de7cbf1f4828309629835a1b | |
parent | 33a0057d561a7b99b34114ba27a4eda0601e0b6b (diff) |
buildsys: touchup 'make dist' a tiny bit
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index dca13ffe2..048cd76a0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -459,11 +459,12 @@ distclean: clean $(MAKE) -C extra/config distclean dist release: - $(RM) -r ../uClibc-$(VERSION) ../uClibc-$(VERSION).tar.bz2 - mkdir -p ../uClibc-$(VERSION) - git archive HEAD |(cd ../uClibc-$(VERSION) && $(TAR) xf -) - $(TAR) cjf ../uClibc-$(VERSION).tar.bz2 -C .. uClibc-$(VERSION) - du -b ../uClibc-$(VERSION).tar.bz2 + $(RM) ../uClibc-$(VERSION).tar + git archive HEAD --format=tar --prefix=uClibc-$(VERSION)/ \ + > ../uClibc-$(VERSION).tar + cat ../uClibc-$(VERSION).tar | bzip2 -c9 > ../uClibc-$(VERSION).tar.bz2 + cat ../uClibc-$(VERSION).tar | xz -e -c8 > ../uClibc-$(VERSION).tar.xz + du -b ../uClibc-$(VERSION).tar.{bz2,xz} test check: test_compile $(Q)$(MAKE) -C test |