summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 02:40:19 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:33:58 +0200
commit368cea20e95eeead7e31be913283d831ffb0abec (patch)
treea41ae2d1d6d2418ecb44fadcf38a09e5e78fa0e9
parent95e434619b063a9a50163ac8d60319c2b5490a52 (diff)
downloadsamba-368cea20e95eeead7e31be913283d831ffb0abec.tar.gz
samba-368cea20e95eeead7e31be913283d831ffb0abec.tar.bz2
samba-368cea20e95eeead7e31be913283d831ffb0abec.zip
build: add an uninstalllibtalloc target
Michael (This used to be commit 4b6ef6202cd9b6e1e8949c43d0c45c04d4b97438)
-rw-r--r--source3/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index a4f66cd0e0..7b7415becc 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2191,6 +2191,12 @@ installlibtalloc:: installdirs libtalloc
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
-$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
+uninstalllibtalloc::
+ -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
+ -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
+ -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
+ -rm -f $(DESTDIR)${prefix}/include/talloc.h
+
installlibtdb:: installdirs libtdb
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET) $(DESTDIR)$(LIBDIR)