summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-06-17 14:05:17 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-06-17 14:05:17 +0000
commitd4bd328e87789bf632ae9d0c1affcdda34eae404 (patch)
tree049aa9187af24ebf55047dd3f1fe89b915926e5b /Makefile.am
parent5469146b9a67cd0f3afcb1d31ebbf1f61175b5e1 (diff)
add proper support for make uninstall
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@292 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 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