blob: 1ad2abd3b36daae2c9fe12be961c8bcef1aa1d43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Makefile.am - use automake to generate Makefile.in
#
# Copyright (C) 2006 Luke Howard
# Copyright (C) 2006 West Consulting
# Copyright (C) 2006 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
SUBDIRS = nss nslcd tests
dist_man_MANS = nss-ldapd.conf.5 nslcd.8
DEBIAN_FILES = debian/changelog debian/compat debian/control \
debian/copyright debian/rules \
debian/libnss-ldapd.docs \
debian/libnss-ldapd.examples \
debian/libnss-ldapd.lintian-overrides \
debian/libnss-ldapd.nslcd.init \
debian/libnss-ldapd.config \
debian/libnss-ldapd.templates \
debian/libnss-ldapd.postinst \
debian/libnss-ldapd.postrm \
debian/po/*.po debian/po/templates.pot \
debian/po/POTFILES.in
EXTRA_DIST = nss-ldapd.conf nslcd.h nslcd-common.h \
HACKING $(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"; \
else \
$(INSTALL_DATA) -D $(srcdir)/nss-ldapd.conf $(DESTDIR)$(NSS_LDAP_PATH_CONF); \
fi
# target for easily creating a Debian package
# the find is an ugly hack to fix a bug if being built on an nfs filesystem
deb: distdir
find $(distdir) -type d | xargs touch
cd $(distdir) && \
debuild
rm -rf $(distdir)
# target for generating the ChangeLog file
changelog:
svn2cl -i
|