[Rt-commit] rt branch, 3.8-trunk, updated. 832817193646651d15acb1af7ac13d9e9925af21
Alex M Vandiver
alexmv at bestpractical.com
Thu Aug 27 14:46:53 EDT 2009
The branch, 3.8-trunk has been updated
via 832817193646651d15acb1af7ac13d9e9925af21 (commit)
from 58efef36fa6655d44209e05a75d9bd93ff84e7da (commit)
Summary of changes:
Makefile.in | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
- Log -----------------------------------------------------------------
commit 832817193646651d15acb1af7ac13d9e9925af21
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Aug 27 13:46:50 2009 -0400
Shorten hash in snapshot, and refactor pathname out
diff --git a/Makefile.in b/Makefile.in
index 340c7e2..b0d4636 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -509,14 +509,11 @@ apachectl:
$(APACHECTL) start
sleep 5
+SNAPSHOT=RT-$(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).HEAD-$(shell git log -n1 --pretty='format:%h')
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'`/"
+ git archive --prefix "$(SNAPSHOT)/" HEAD | tar -xf -
+ ( cd $(SNAPSHOT) && autoconf && ./configure )
+ tar -czf "$(SNAPSHOT).tar.gz" "$(SNAPSHOT)/"
+ rm -fr "$(SNAPSHOT)/"
# }}}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list