diff options
author | Lars Müller <lmuelle@samba.org> | 2006-02-24 00:30:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:21 -0500 |
commit | 9169edfeb4ea4358dbaf948372847542fb57464e (patch) | |
tree | 8d7e90e42d7bb6ec37a12f8c9885038720bf4025 /source3/configure.in | |
parent | e18349b2bb6f4df9c6d08a3d62cfbf012f7f3660 (diff) | |
download | samba-9169edfeb4ea4358dbaf948372847542fb57464e.tar.gz samba-9169edfeb4ea4358dbaf948372847542fb57464e.tar.xz samba-9169edfeb4ea4358dbaf948372847542fb57464e.zip |
r13663: make uninstall DESTDIR=/somewhere no longer leaves files. This is done
with the new rules: uninstallservers uninstalldat, uninstallswat (calles
uninstallmsg), uninstallmodules, uninstallclientlib, and
uninstalllibmsrpc.
We still leave directories. We might try to remove the dirs we created
in reverse order.
The new uninstall scripts are sym links to the respective install
scripts. Inside we set mode to install or uninstall.
installservers is now used to install the servers. These are no longer
installed with installbin.
(This used to be commit 43549301b937c060742840054017b31bf3781e04)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index b3beb55c70..3f1600249e 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -217,10 +217,14 @@ AC_SUBST(PIE_LDFLAGS) AC_SUBST(SHLIBEXT) AC_SUBST(INSTALLLIBCMD_SH) AC_SUBST(INSTALLLIBCMD_A) +AC_SUBST(UNINSTALLLIBCMD_SH) +AC_SUBST(UNINSTALLLIBCMD_A) AC_SUBST(INSTALL_LIBMSRPC) +AC_SUBST(UNINSTALL_LIBMSRPC) AC_SUBST(LIBMSRPC_SHARED) AC_SUBST(LIBMSRPC) AC_SUBST(INSTALL_LIBSMBCLIENT) +AC_SUBST(UNINSTALL_LIBSMBCLIENT) AC_SUBST(LIBSMBCLIENT_SHARED) AC_SUBST(LIBSMBCLIENT) AC_SUBST(INSTALL_LIBSMBSHAREMODES) @@ -4081,17 +4085,22 @@ fi INSTALLLIBCMD_SH=: INSTALLLIBCMD_A=: +UNINSTALLLIBCMD_SH=: +UNINSTALLLIBCMD_A=: if test $BLDSHARED = true; then INSTALLLIBCMD_SH="\$(INSTALLCMD)" + UNINSTALLLIBCMD_SH="rm -f" fi if test $enable_static = yes; then INSTALLLIBCMD_A="\$(INSTALLCMD)" + UNINSTALLLIBCMD_A="rm -f" fi ################################################# # should we build libmsrpc? INSTALL_LIBMSRPC= +UNINSTALL_LIBMSRPC= LIBMSRPC_SHARED= LIBMSRPC= AC_MSG_CHECKING(whether to build the libmsrpc shared library) @@ -4114,6 +4123,7 @@ AC_ARG_WITH(libmsrpc, LIBMSRPC=libmsrpc fi INSTALL_LIBMSRPC=installlibmsrpc + UNINSTALL_LIBMSRPC=uninstalllibmsrpc ;; esac ], [ @@ -4130,11 +4140,13 @@ AC_ARG_WITH(libmsrpc, LIBMSRPC=libmsrpc fi] INSTALL_LIBMSRPC=installlibmsrpc + UNINSTALL_LIBMSRPC=uninstalllibmsrpc ) ################################################# # should we build libsmbclient? INSTALL_LIBSMBCLIENT= +UNINSTALL_LIBSMBCLIENT= LIBSMBCLIENT_SHARED= LIBSMBCLIENT= AC_MSG_CHECKING(whether to build the libsmbclient shared library) @@ -4157,6 +4169,7 @@ AC_ARG_WITH(libsmbclient, LIBSMBCLIENT=libsmbclient fi INSTALL_LIBSMBCLIENT=installclientlib + UNINSTALL_LIBSMBCLIENT=uninstallclientlib ;; esac ], [ @@ -4173,6 +4186,7 @@ AC_ARG_WITH(libsmbclient, LIBSMBCLIENT=libsmbclient fi] INSTALL_LIBSMBCLIENT=installclientlib + UNINSTALL_LIBSMBCLIENT=uninstallclientlib ) INSTALL_LIBSMBSHAREMODES= |