summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 21:20:54 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:01 +0200
commit56579822dafad4945ab67e20d20c3718c84621a9 (patch)
tree73d272eaa15e8c8c4a042a418aba2a70d8f50a12
parentaedb019d65a105ff39880dcaa0914142de8e6cc5 (diff)
downloadsamba-56579822dafad4945ab67e20d20c3718c84621a9.tar.gz
samba-56579822dafad4945ab67e20d20c3718c84621a9.tar.bz2
samba-56579822dafad4945ab67e20d20c3718c84621a9.zip
build: add uninstalllibwbclient to Makefile.in and use it for uninstall
Michael (This used to be commit 2712dade9d6495f3dbb75876ec32d73f8bb93f9f)
-rw-r--r--source3/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index dbec0f3da4..481082eb74 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1728,6 +1728,11 @@ installlibwbclient:: installdirs libwbclient
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
-$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
+uninstalllibwbclient::
+ -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
+ -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
+ -rm -f $(DESTDIR)${prefix}/include/wbclient.h
+
#-------------------------------------------------------------------
#
@@ -2397,7 +2402,7 @@ showlayout::
@echo " swatdir: $(SWATDIR)"
-uninstall:: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibtalloc uninstalllibtdb @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ uninstalllibnetapi
+uninstall:: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibtalloc uninstalllibtdb @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ uninstalllibnetapi uninstalllibwbclient
uninstallman::
@$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C