[git commit] buildsys: add release target
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Apr 11 18:25:06 UTC 2012
commit: http://git.uclibc.org/uClibc++/commit/?id=5dd2ba86556cfc5c059f27227b2df77b1e4760f3
branch: http://git.uclibc.org/uClibc++/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
Makefile | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 460e398..c018f15 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,14 @@ distclean: clean
$(RM) .config .config.cmd .config.old
$(RM) include/system_configuration.h
+release:
+ $(RM) ../uClibc++-$(VERSION).tar
+ git archive --format=tar --prefix=uClibc++-$(VERSION)/ HEAD \
+ > ../uClibc++-$(VERSION).tar
+ cat ../uClibc++-$(VERSION).tar | bzip2 -c9 > ../uClibc++-$(VERSION).tar.bz2
+ cat ../uClibc++-$(VERSION).tar | xz -e -c8 > ../uClibc++-$(VERSION).tar.xz
+ du -b ../uClibc++-$(VERSION).tar.{bz2,xz}
+
headers: include/system_configuration.h
install:
More information about the uClibc-cvs
mailing list