Browse Source

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 15 years ago
parent
commit
feb97aff03
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Makefile.in

+ 2 - 1
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