summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-12-16 16:40:18 +0000
committerArthur de Jong <arthur@arthurdejong.org>2006-12-16 16:40:18 +0000
commita7f0e2a91649fb98ad588f5572331b309d9d0eb1 (patch)
treea50c90f09ba4a14ce5c3cc25a5ad214232dc14b9
parenta4f708f205d09d6329f2e2c6d07779f65787eb8c (diff)
fix debian files to ship and split off those files into a separate variable
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@160 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--Makefile.am28
1 files changed, 15 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am
index fed46ec..dd8f0d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,24 +23,26 @@ SUBDIRS = nss server tests
man_MANS = nss_ldap.5
-EXTRA_DIST = ChangeLog \
- AUTHORS ANNOUNCE NEWS INSTALL README COPYING \
- ldap.conf \
- debian/changelog debian/compat debian/config \
- debian/control debian/copyright debian/rules \
- debian/templates debian/libnss-ldapd.docs \
- debian/libnss-ldapd.nslcd.init \
- debian/libnss-ldapd.postinst \
- debian/libnss-ldapd.postrm debian/README.Debian \
- debian/po/*.po debian/po/templates.pot \
- debian/po/POTFILES.in \
- nslcd.h nslcd-common.h \
- nss_ldap.5
+DEBIAN_FILES = debian/changelog debian/compat debian/control \
+ debian/copyright debian/rules \
+ debian/libnss-ldapd.docs \
+ debian/libnss-ldapd.nslcd.init \
+ debian/libnss-ldapd.config \
+ debian/libnss-ldapd.templates \
+ debian/libnss-ldapd.postinst \
+ debian/libnss-ldapd.postrm \
+ debian/README.Debian \
+ debian/po/*.po debian/po/templates.pot \
+ debian/po/POTFILES.in
+
+EXTRA_DIST = ldap.conf nslcd.h nslcd-common.h \
+ nss_ldap.5 $(DEBIAN_FILES)
NSS_LDAP_PATH_CONF = @NSS_LDAP_PATH_CONF@
install-data-local: install-ldap_conf
+# install a default configuration file if it is not already there
install-ldap_conf:
@if [ -f $(DESTDIR)$(NSS_LDAP_PATH_CONF) ]; then \
echo "$(DESTDIR)$(NSS_LDAP_PATH_CONF) already exists, install will not overwrite"; \