aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2007-01-26 00:33:53 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2007-01-26 00:33:53 +0000
commit5baeb7a77b8531aa271d2ab95efb1939fd784c9a (patch)
tree127c7c16abcfbff067f665d587148e3d4cbb091f
parent732880e7aaae3bc2049f49e27aa4126b01953be1 (diff)
downloaduClibc-5baeb7a77b8531aa271d2ab95efb1939fd784c9a.tar.gz
uClibc-5baeb7a77b8531aa271d2ab95efb1939fd784c9a.tar.bz2
import simpler dist/release target from trunk
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 298a978ee..da57a00a3 100644
--- a/Makefile
+++ b/Makefile
@@ -367,16 +367,11 @@ distclean: clean
$(RM) .config .config.old .config.cmd
$(MAKE) -C extra clean
-release: distclean
- cd ..; \
- $(RM) -r uClibc-$(VERSION); \
- cp -dRf uClibc uClibc-$(VERSION); \
- find uClibc-$(VERSION)/ -type f \
- -name .\#* -exec $(RM) -r {} \; ; \
- find uClibc-$(VERSION)/ -type d \
- -name .svn -exec $(RM) -r {} \; ; \
- \
- tar -cvzf uClibc-$(VERSION).tar.gz uClibc-$(VERSION)/;
+dist release:
+ $(RM) -r ../uClibc-$(VERSION) ../uClibc-$(VERSION).tar.gz
+ svn -q export . ../uClibc-$(VERSION)
+ tar czf ../uClibc-$(VERSION).tar.gz -C .. uClibc-$(VERSION)
+ du -b ../uClibc-$(VERSION).tar.gz
endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)