From aedb019d65a105ff39880dcaa0914142de8e6cc5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 6 Jul 2008 21:14:17 +0200 Subject: build: fix the installlibwbclient target to use defined variables and install the symlink Michael (This used to be commit 922b136ada1c502edcbbb89e9cca155cd6ad376c) --- source3/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source3/Makefile.in b/source3/Makefile.in index 593b8897ae..dbec0f3da4 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1719,9 +1719,14 @@ libwbclient: $(LIBWBCLIENT) installlibwbclient:: installdirs libwbclient @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) - -$(INSTALLLIBCMD_SH) bin/libwbclient.@SHLIBEXT@ $(DESTDIR)$(LIBDIR) + -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) + @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` + -if test -e $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \ + ln -s -f `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \ + $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \ + fi @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include - -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/nsswitch/libwbclient/wbclient.h $(DESTDIR)${prefix}/include + -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include #------------------------------------------------------------------- -- cgit