This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
RHEL5 - cman: fixed makefiles to install the new Python version ofVMware fence agent
- From: Jan Friesse <honzaf at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Tue, 16 Sep 2008 06:49:18 +0000 (UTC)
- Subject: RHEL5 - cman: fixed makefiles to install the new Python version ofVMware fence agent
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=29e706dc8f469f3cdac13b39dbcedba604d336d9
Commit: 29e706dc8f469f3cdac13b39dbcedba604d336d9
Parent: 50dc172c12f728ebb5916e2059b01404d94dd066
Author: Jan Friesse <jfriesse@redhat.com>
AuthorDate: Tue Sep 16 08:47:20 2008 +0200
Committer: Jan Friesse <jfriesse@redhat.com>
CommitterDate: Tue Sep 16 08:47:20 2008 +0200
cman: fixed makefiles to install the new Python version of VMware fence agent
---
fence/agents/vmware/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fence/agents/vmware/Makefile b/fence/agents/vmware/Makefile
index bbf916c..ea0a207 100644
--- a/fence/agents/vmware/Makefile
+++ b/fence/agents/vmware/Makefile
@@ -11,7 +11,7 @@
###############################################################################
###############################################################################
-SOURCE= fence_vmware.pl
+SOURCE= fence_vmware.py
TARGET= fence_vmware
top_srcdir=../..
@@ -22,9 +22,9 @@ all: $(TARGET)
$(TARGET): $(SOURCE)
: > $(TARGET)
awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
- echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
- ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
- echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+ echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+ ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET)
+ echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)