public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* resource-agents: master - build: adapt Makefile to expand for EVENT_TARGETS
@ 2009-01-13  5:10 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-01-13  5:10 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=d1d94b3657bf6a5ad708513c827534af2378845b
Commit:        d1d94b3657bf6a5ad708513c827534af2378845b
Parent:        bc4e0bd283d086e09c80e0a811a8205f21134e6e
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Tue Jan 13 06:05:48 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jan 13 06:09:17 2009 +0100

build: adapt Makefile to expand for EVENT_TARGETS

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 rgmanager/src/resources/Makefile |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/rgmanager/src/resources/Makefile b/rgmanager/src/resources/Makefile
index 12a3f84..3c8c1f9 100644
--- a/rgmanager/src/resources/Makefile
+++ b/rgmanager/src/resources/Makefile
@@ -16,7 +16,10 @@ RESOURCES=service.sh ip.sh nfsclient.sh nfsexport.sh \
 
 METADATA=apache.metadata openldap.metadata samba.metadata \
 	mysql.metadata postgres-8.metadata tomcat-5.metadata \
-	named.metadata lvm.metadata default_event_script.sl \
+	named.metadata lvm.metadata
+
+EVENT_TARGETS= \
+	default_event_script.sl \
 	follow-service.sl
 
 GENERAL_TARGETS=ocf-shellfuncs svclib_nfslock lvm_by_lv.sh lvm_by_vg.sh
@@ -48,7 +51,7 @@ install:
 	for i in $(RESOURCES); do \
 	 install -m755 $(S)/$$i ${sharedir}; \
 	done
-	for i in $(METADATA); do \
+	for i in $(METADATA) $(EVENT_TARGETS); do \
 	 install -m644 $(S)/$$i ${sharedir}; \
 	done
 	for i in $(GENERAL_TARGETS); do \
@@ -62,7 +65,7 @@ install:
 
 uninstall:
 	${UNINSTALL} ${RESOURCES} ${GENERAL_TARGETS} \
-		     ${METADATA} ${UTIL_TARGETS} \
+		     ${METADATA} ${EVENT_TARGETS} ${UTIL_TARGETS} \
 		     $(TARGET1) $(TARGET2) $(TARGET3) \
 		     ${sharedir}
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-13  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-13  5:10 resource-agents: master - build: adapt Makefile to expand for EVENT_TARGETS 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).