diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | nss/Makefile.am | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 5d9301c..60333cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,6 +44,7 @@ ACLOCAL_AMFLAGS = -I config -I m4 NSS_LDAP_PATH_CONF = @NSS_LDAP_PATH_CONF@ install-data-local: install-ldap_conf +uninstall-local: uninstall-ldap_conf # install a default configuration file if it is not already there install-ldap_conf: @@ -52,6 +53,8 @@ install-ldap_conf: else \ $(INSTALL_DATA) -D $(srcdir)/nss-ldapd.conf $(DESTDIR)$(NSS_LDAP_PATH_CONF); \ fi +uninstall-ldap_conf: + -rm -f $(DESTDIR)$(NSS_LDAP_PATH_CONF) # target for easily creating a Debian package # the find is an ugly hack to fix a bug if being built on an nfs filesystem diff --git a/nss/Makefile.am b/nss/Makefile.am index 5cd9bd5..0167d20 100644 --- a/nss/Makefile.am +++ b/nss/Makefile.am @@ -41,7 +41,10 @@ nss_ldap_so_LDADD = @nss_ldap_so_LIBS@ ../common/libtio.a EXTRA_DIST = exports.linux install-exec-local: install-nss_ldap_so +uninstall-local: uninstall-nss_ldap_so # install libnss_ldap.so.2 install-nss_ldap_so: nss_ldap.so $(INSTALL_PROGRAM) -D nss_ldap.so $(DESTDIR)$(libdir)/$(NSS_LDAP_NSS_VERSIONED) +uninstall-nss_ldap_so: + -rm -f $(DESTDIR)$(libdir)/$(NSS_LDAP_NSS_VERSIONED) |