svn commit: branches/uClibc_0_9_28

vapier at uclibc.org vapier at uclibc.org
Fri Jan 26 00:33:53 UTC 2007


Author: vapier
Date: 2007-01-25 16:33:53 -0800 (Thu, 25 Jan 2007)
New Revision: 17533

Log:
import simpler dist/release target from trunk

Modified:
   branches/uClibc_0_9_28/Makefile


Changeset:
Modified: branches/uClibc_0_9_28/Makefile
===================================================================
--- branches/uClibc_0_9_28/Makefile	2007-01-26 00:33:13 UTC (rev 17532)
+++ branches/uClibc_0_9_28/Makefile	2007-01-26 00:33:53 UTC (rev 17533)
@@ -367,16 +367,11 @@
 	$(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)
 




More information about the uClibc-cvs mailing list