From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28859 invoked by alias); 28 May 2009 13:27:04 -0000 Received: (qmail 28853 invoked by alias); 28 May 2009 13:27:04 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: master - build: fix install of symlinks To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 752ec0decd9c79f0391b49db273feef1224a4d47 X-Git-Newrev: f48b53aea96c82de7d2d2b2913ed7b47870a41fb From: "Fabio M. Di Nitto" Message-Id: <20090528132644.22565120210@lists.fedorahosted.org> Date: Thu, 28 May 2009 13:27:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00433.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f48b53aea96c82de7d2d2b2913ed7b47870a41fb Commit: f48b53aea96c82de7d2d2b2913ed7b47870a41fb Parent: 752ec0decd9c79f0391b49db273feef1224a4d47 Author: Fabio M. Di Nitto AuthorDate: Thu May 28 15:26:26 2009 +0200 Committer: Fabio M. Di Nitto CommitterDate: Thu May 28 15:26:26 2009 +0200 build: fix install of symlinks Signed-off-by: Fabio M. Di Nitto --- 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)