summaryrefslogtreecommitdiff
path: root/net/nss-pam-ldapd/files/patch-Makefile.in
blob: 2cb1ca59ac3347a9518309db759f50b382ec937c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Makefile.in.orig	2010-06-29 23:25:51.000000000 +0400
+++ Makefile.in	2010-06-29 23:26:53.000000000 +0400
@@ -759,13 +759,14 @@
 
 # install a default configuration file if it is not already there
 install-nslcd_conf:
+	$(INSTALL_DATA) $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH).sample
 	@if [ -f $(DESTDIR)$(NSLCD_CONF_PATH) ]; then \
 	  echo "$(DESTDIR)$(NSLCD_CONF_PATH) already exists, install will not overwrite"; \
 	else \
 	  $(INSTALL_DATA) $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH) || true; \
 	fi
 uninstall-nslcd_conf:
-	-rm -f $(DESTDIR)$(NSLCD_CONF_PATH)
+	-rm -f $(DESTDIR)$(NSLCD_CONF_PATH).sample
 
 # target for easily creating a Debian package
 # the find is an ugly hack to fix a bug if being built on an nfs filesystem