cluster: STABLE32 - Update Makefile for cpglockd init script

Ryan McCabe rmccabe at fedoraproject.org
Tue May 1 13:43:37 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=fe28e52bd0e7596e90fd71b1f1ceee8aaa935481
Commit:        fe28e52bd0e7596e90fd71b1f1ceee8aaa935481
Parent:        73369096429f6f67ba15389f50aab16bfbf668c2
Author:        Ryan McCabe <rmccabe at redhat.com>
AuthorDate:    Mon Apr 23 18:27:55 2012 -0400
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 24 17:04:09 2012 +0200

Update Makefile for cpglockd init script

Signed-off-by: Ryan McCabe <rmccabe at redhat.com>
---
 rgmanager/init.d/Makefile |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/rgmanager/init.d/Makefile b/rgmanager/init.d/Makefile
index 4c9a44f..7346884 100644
--- a/rgmanager/init.d/Makefile
+++ b/rgmanager/init.d/Makefile
@@ -1,19 +1,26 @@
-TARGET= rgmanager
+TARGET1=rgmanager
+TARGET2=cpglockd
 
-INITDT=$(TARGET)
+INITDT=$(TARGET1) $(TARGET2)
 
-all: $(TARGET)
+all: $(TARGET1) $(TARGET2)
 
 include ../../make/defines.mk
 include $(OBJDIR)/make/clean.mk
 include $(OBJDIR)/make/install.mk
 include $(OBJDIR)/make/uninstall.mk
 
-$(TARGET): $(S)/$(TARGET).in
-	cat $(S)/$(TARGET).in | sed \
+$(TARGET1): $(S)/$(TARGET1).in
+	cat $(S)/$(TARGET1).in | sed \
 		-e 's#@SBINDIR@#${sbindir}#g' \
 		-e 's#@INITDDIR@#${initddir}#g' \
-	> $(TARGET)
+	> $(TARGET1)
+
+$(TARGET2): $(S)/$(TARGET2).in
+	cat $(S)/$(TARGET2).in | sed \
+		-e 's#@SBINDIR@#${sbindir}#g' \
+		-e 's#@INITDDIR@#${initddir}#g' \
+	> $(TARGET2)
 
 clean: generalclean
 


More information about the cluster-commits mailing list