summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-08-01 01:41:23 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-01 01:41:23 -0700
commitfeb97aff03e43bc322c71ee040aa866cc03aa485 (patch)
tree372ecb51d4f431e5cddb12fd053a75d5d251e828
parent14d8a703af0912ffddd560709bd6c9858339f016 (diff)
Makefile.in: Let make release or make dist to use git.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index a5fc78627..13e222101 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -448,7 +448,8 @@ distclean: clean
dist release:
$(RM) -r ../uClibc-$(VERSION) ../uClibc-$(VERSION).tar.bz2
- svn -q export . ../uClibc-$(VERSION)
+ 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