summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 14:43:12 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:34:00 +0200
commit31a4a4ec8141756107e05e7b9d6300c92f3f0167 (patch)
treeb86c11e2af9e923acb91cb5daba8029de879cf77 /source3
parent8583d07b75926ac2603b7c45f773fcafc3f0772f (diff)
downloadsamba-31a4a4ec8141756107e05e7b9d6300c92f3f0167.tar.gz
samba-31a4a4ec8141756107e05e7b9d6300c92f3f0167.tar.bz2
samba-31a4a4ec8141756107e05e7b9d6300c92f3f0167.zip
build: add an uninstalllibtdb target.
Michael (This used to be commit c50c847f4b9772261f8011f32eec97d8244dccdd)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 5d0cce479d..c6f560cd26 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1711,6 +1711,12 @@ installlibtdb:: installdirs libtdb
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
-$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
+uninstalllibtdb::
+ -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
+ -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
+ -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
+ -rm -f $(DESTDIR)${prefix}/include/tdb.h
+
#-------------------------------------------------------------------
#