]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
build: add an uninstalllibtdb target.
authorMichael Adam <obnox@samba.org>
Sun, 6 Jul 2008 12:43:12 +0000 (14:43 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 7 Jul 2008 18:34:00 +0000 (20:34 +0200)
Michael

source/Makefile.in

index 5d0cce479dd65e97cc11b592b433747660db1b31..c6f560cd26896c762eef91b2bfcd5b1d63cbc89e 100644 (file)
@@ -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
+
 
 #-------------------------------------------------------------------
 #