public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - build: prepare infrastructure for fence-agents and resource-agents tarballs
@ 2009-01-26 11:22 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-01-26 11:22 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6851b31ac0c8ed70226619ea4f9d81e064d5d9ae
Commit: 6851b31ac0c8ed70226619ea4f9d81e064d5d9ae
Parent: 1ea6574aeb3a43ff583673457080ef9216223946
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Mon Jan 26 12:20:44 2009 +0100
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Jan 26 12:20:44 2009 +0100
build: prepare infrastructure for fence-agents and resource-agents tarballs
update release.mk to automatically create two more tarballs.
Those are still a bit rough on the edges, but we will get there eventually.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
make/release.mk | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/make/release.mk b/make/release.mk
index b31a33d..de79d6a 100644
--- a/make/release.mk
+++ b/make/release.mk
@@ -41,7 +41,7 @@ release: tag tarballs
tag:
git tag -a -m "$(PV) release" $(PV) HEAD
-tarballs: master-tarball
+tarballs: master-tarball fence-agents-tarball resource-agents-tarball
master-tarball:
git archive \
@@ -59,6 +59,32 @@ master-tarball:
> ../$(TGZ)
rm -rf $(PV)
+fence-agents-tarball:
+ tar zxpf ../$(TGZ)
+ mv $(PV) fence-agents-$(VERSION)
+ cd fence-agents-$(VERSION) && \
+ rm -rf bindings cman common config contrib dlm doc gfs* group rgmanager && \
+ rm -rf fence/fenced fence/fence_node fence/fence_tool fence/include fence/libfence fence/libfenced && \
+ rm -rf fence/man/fence.8 fence/man/fenced.8 fence/man/fence_node.8 fence/man/fence_tool.8
+ tar cp fence-agents-$(VERSION) | \
+ gzip -9 \
+ > ../fence-agents-$(VERSION).tar.gz
+ rm -rf fence-agents-$(VERSION)
+
+resource-agents-tarball:
+ tar zxpf ../$(TGZ)
+ mv $(PV) resource-agents-$(VERSION)
+ cd resource-agents-$(VERSION) && \
+ rm -rf bindings cman common config contrib dlm doc fence gfs* group && \
+ rm -rf rgmanager/ChangeLog rgmanager/errors.txt rgmanager/event-script.txt \
+ rgmanager/examples rgmanager/include rgmanager/init.d rgmanager/man \
+ rgmanager/README && \
+ rm -rf rgmanager/src/clulib rgmanager/src/daemons rgmanager/src/utils
+ tar cp resource-agents-$(VERSION) | \
+ gzip -9 \
+ > ../resource-agents-$(VERSION).tar.gz
+ rm -rf resource-agents-$(VERSION)
+
publish: master-publish
master-publish:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-26 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26 11:22 cluster: STABLE3 - build: prepare infrastructure for fence-agents and resource-agents tarballs Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).