[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/fence/agents/baytech Makefile



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	jparsons sourceware org	2006-11-28 15:38:39

Modified files:
	fence/agents/baytech: Makefile 

Log message:
	adresses bz179771

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/baytech/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1&r2=1.1.2.1

--- cluster/fence/agents/baytech/Makefile	2004/06/24 08:53:13	1.1
+++ cluster/fence/agents/baytech/Makefile	2006/11/28 15:38:38	1.1.2.1
@@ -11,8 +11,8 @@
 ###############################################################################
 ###############################################################################
 
-SOURCE= fence_XXX.pl
-TARGET= fence_XXX
+SOURCE= fence_baytech.py
+TARGET= fence_baytech
 
 top_srcdir=../../..
 include ${top_srcdir}/make/defines.mk
@@ -20,12 +20,12 @@
 
 all: $(TARGET)
 
-$(TARGET): $(SOURCE)
+fence_baytech: fence_baytech.py
 	: > $(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 SISTINA_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)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]