[git commit] Makefile.in: Let make release or make dist to use git.

Khem Raj raj.khem at gmail.com
Sat Aug 1 08:41:23 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=feb97aff03e43bc322c71ee040aa866cc03aa485
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 Makefile.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index a5fc786..13e2221 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
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list