[Rt-commit] rt branch, 3.8-trunk, updated. 58efef36fa6655d44209e05a75d9bd93ff84e7da
Ruslan Zakirov
ruz at bestpractical.com
Wed Aug 26 19:45:29 EDT 2009
The branch, 3.8-trunk has been updated
via 58efef36fa6655d44209e05a75d9bd93ff84e7da (commit)
from 6f1f370a28146902391a5aa0e6aca3e6027d9b9a (commit)
Summary of changes:
Makefile.in | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 58efef36fa6655d44209e05a75d9bd93ff84e7da
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Thu Aug 27 03:40:12 2009 +0400
add 'make snapshot' target
diff --git a/Makefile.in b/Makefile.in
index eb304f2..340c7e2 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -508,4 +508,15 @@ apachectl:
sleep 10
$(APACHECTL) start
sleep 5
+
+snapshot:
+ git archive \
+ --prefix "RT-$(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).HEAD-`git log -n1 --pretty='format:%H'`/" \
+ `git log -n1 --pretty='format:%H'` \
+ | tar -xf -
+ ( cd "RT-$(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).HEAD-`git log -n1 --pretty='format:%H'`/" && autoconf && ./configure )
+ tar -czf "RT-$(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).HEAD-`git log -n1 --pretty='format:%H'`.tar.gz" \
+ "RT-$(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).HEAD-`git log -n1 --pretty='format:%H'`/"
+ rm -fr "RT-$(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).HEAD-`git log -n1 --pretty='format:%H'`/"
+
# }}}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list