This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: master - build: fix install of symlinks
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Thu, 28 May 2009 13:26:44 +0000 (UTC)
- Subject: cluster: master - build: fix install of symlinks
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f48b53aea96c82de7d2d2b2913ed7b47870a41fb
Commit: f48b53aea96c82de7d2d2b2913ed7b47870a41fb
Parent: 752ec0decd9c79f0391b49db273feef1224a4d47
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Thu May 28 15:26:26 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu May 28 15:26:26 2009 +0200
build: fix install of symlinks
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
config/tools/ccs_tool/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/config/tools/ccs_tool/Makefile.am b/config/tools/ccs_tool/Makefile.am
index 15db1e2..295950d 100644
--- a/config/tools/ccs_tool/Makefile.am
+++ b/config/tools/ccs_tool/Makefile.am
@@ -16,7 +16,9 @@ ccs_tool_LDFLAGS = $(xml_LIBS)
ccs_tool_LDADD = $(top_builddir)/config/libs/libccsconfdb/libccs.la
install-exec-hook:
- (cd $(DESTDIR)/$(sbindir) && $(LN_S) ccs_tool ccs_test)
+ (cd $(DESTDIR)/$(sbindir) && \
+ rm -f ccs_test && \
+ $(LN_S) ccs_tool ccs_test)
uninstall-hook:
(cd $(DESTDIR)/$(sbindir) && rm -f ccs_test)