cluster/fence/agents/scsi Makefile
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.
fence/agents/scsi/Makefile +2 -10
@@ -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)