Add userdir-ldap-slapd.conf, a snipped to be included in slapd.conf to the package.
[mirror/userdir-ldap.git] / debian / rules
1 #! /usr/bin/make -f
2 # -*- make -*-
3 # Made with the aid of debmake, by Christoph Lameter,
4 # based on the sample debian/rules file for GNU hello by Ian Jackson.
5
6 build:
7         dh_testdir
8         $(MAKE) -C doc
9         # feel free to put dc=debian,dc=org and debian.org into some config file so that this is easier on others who
10         # also use userdir-ldap.
11         sed -e 's/@@DN@@/dc=debian,dc=org/g; s/@@DOMAIN@@/debian.org/g' < userdir-ldap-slapd.conf.in > userdir-ldap-slapd.conf
12         touch build
13
14 clean:
15         dh_testdir
16         rm -f build
17         find . -name '*.py[co]' -print0 | xargs -0 --no-run-if-empty rm -f
18         $(MAKE) -C doc clean
19         rm -f userdir-ldap-slapd.conf
20         dh_clean
21
22 binary-indep: build
23         dh_testdir
24         dh_testroot
25         dh_clean -k
26         dh_installdirs
27         dh_install
28         dh_installcron --name=ud-replicate
29         dh_installdocs
30         dh_installchangelogs
31         dh_installman
32         dh_fixperms
33         dh_compress
34         dh_pysupport
35         dh_installdeb
36         dh_gencontrol
37         dh_md5sums
38         dh_builddeb
39
40 binary-arch: build
41 # There are no architecture-dependent files to be uploaded
42 # generated by this package.  If there were any they would be
43 # made here.
44
45
46 # Below here is fairly generic really
47
48 binary: binary-indep binary-arch
49
50 .PHONY: binary binary-arch binary-indep clean