fence-agents: master - fence_scsi: Do not use SYMTARGET for fence_scsi_check
Marek GrĂ¡c
marx at fedoraproject.org
Wed May 14 15:01:46 UTC 2014
Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=01efc45eec1a8142f5809984a94c175702685514
Commit: 01efc45eec1a8142f5809984a94c175702685514
Parent: 531764486d0c149285962b90dd36b5c64b57276f
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Wed May 14 16:55:50 2014 +0200
Committer: Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed May 14 16:55:50 2014 +0200
fence_scsi: Do not use SYMTARGET for fence_scsi_check
SYMTARGET in Makefile.am should not be used becasue fence_scsi_check is not a
fence agent and so the tests will fail.
---
fence/agents/scsi/Makefile.am | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/fence/agents/scsi/Makefile.am b/fence/agents/scsi/Makefile.am
index 896406a..89e3581 100644
--- a/fence/agents/scsi/Makefile.am
+++ b/fence/agents/scsi/Makefile.am
@@ -2,18 +2,16 @@ MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_scsi
-SYMTARGET = fence_scsi_check
-
SRC = $(TARGET).py
EXTRA_DIST = $(SRC)
-sbin_SCRIPTS = $(TARGET) $(SYMTARGET)
+sbin_SCRIPTS = $(TARGET) fence_scsi_check
man_MANS = $(TARGET).8
-$(SYMTARGET): $(TARGET)
- ln -s $^ $@
+fence_scsi_check: $(TARGET)
+ cp -s $^ $@
include $(top_srcdir)/make/fencebuild.mk
include $(top_srcdir)/make/fenceman.mk
More information about the cluster-commits
mailing list