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

cfeist at sourceware.org cfeist at sourceware.org
Wed Jan 10 19:57:26 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	cfeist at sourceware.org	2007-01-10 19:57:25

Modified files:
	fence/agents/scsi: Makefile 

Log message:
	- Use copytobin target instead of install target to remain compatible with
	other fence agents.

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

--- cluster/fence/agents/scsi/Makefile	2007/01/09 19:42:38	1.9.6.1
+++ cluster/fence/agents/scsi/Makefile	2007/01/10 19:57:25	1.9.6.2
@@ -40,16 +40,8 @@
 	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(TEST_SOURCE) >> $(TEST_TARGET)
 	chmod +x $(TEST_TARGET)
 
-install: all
-	if [ ! -d ${sbindir} ]; then \
-		install -d ${sbindir}; \
-	fi
-	install -m755 ${TARGET} ${sbindir}
-	install -m755 ${TEST_TARGET} ${sbindir}
-	if [ ! -d ${initdir} ]; then \
-		install -d ${initdir}; \
-	fi
-	install -m755 ${SCRIPT} ${initdir}
+copytobin: ${TARGET}
+	cp ${TARGET} ${top_srcdir}/bin/${TARGET}
 
 clean:
 	rm -f $(TARGET) $($TEST_TARGET)




More information about the Cluster-devel mailing list