cluster: RHEL6 - Update Makefile for cpglockd init script

Ryan McCabe rmccabe at fedoraproject.org
Tue May 1 15:01:37 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=79b02f3654e438a216cdb86ccda735b83563fe00
Commit:        79b02f3654e438a216cdb86ccda735b83563fe00
Parent:        a3efdc591c273acde2e790241b3200d79eb711f1
Author:        Ryan McCabe <rmccabe at redhat.com>
AuthorDate:    Mon Apr 23 18:27:55 2012 -0400
Committer:     Ryan McCabe <rmccabe at redhat.com>
CommitterDate: Tue May 1 10:57:18 2012 -0400

Update Makefile for cpglockd init script

Signed-off-by: Ryan McCabe <rmccabe at redhat.com>
Reviewed-by: Lon Hohberger <lhh at redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto 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