public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* fence: master - build: re-make libfenced static again
@ 2009-06-15  6:59 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-06-15  6:59 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/fence.git?p=fence.git;a=commitdiff;h=d7d4edefae0a2556cac706172e3193d0b4bbdbb0
Commit:        d7d4edefae0a2556cac706172e3193d0b4bbdbb0
Parent:        e3d0c9bcde468525c6e3fb068ea7d13ca2845b26
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon Jun 15 08:57:45 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Jun 15 08:57:45 2009 +0200

build: re-make libfenced static again

please make sure to remove /usr/lib*/libfenced.*, rebuild and
reinstall libfenced (static version only) and then rebuild and
reinstall all controld daemons.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 fence/libfenced/Makefile.am |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/fence/libfenced/Makefile.am b/fence/libfenced/Makefile.am
index 6834f55..615d152 100644
--- a/fence/libfenced/Makefile.am
+++ b/fence/libfenced/Makefile.am
@@ -1,17 +1,21 @@
 MAINTAINERCLEANFILES	= Makefile.in
 
-libversion		= 4:0:0
-
 include_HEADERS		= libfenced.h
 
 pkgconfigdir		= $(libdir)/pkgconfig
 
 pkgconfig_DATA		= libfenced.pc
 
-lib_LTLIBRARIES		= libfenced.la
+noinst_LTLIBRARIES	= libfenced.la
 
 libfenced_la_SOURCES	= main.c
 
 libfenced_la_CPPFLAGS	= -I$(top_srcdir)/fence/fenced
 
-libfenced_la_LDFLAGS	= -version-info $(libversion)
+install-exec-local:
+	$(INSTALL) -d $(DESTDIR)/$(libdir)
+	$(INSTALL) -m 644 $(builddir)/.libs/libfenced.a $(DESTDIR)/$(libdir)/
+
+uninstall-local:
+	cd $(DESTDIR)/$(libdir) && \
+		rm -f libfenced.a


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-15  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-15  6:59 fence: master - build: re-make libfenced static again Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).