blob: c92378fe239d45857bab91d218af3d193db85db9 (
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
|
#!/usr/bin/make -f
OPENLDAP_SOURCE=debian/tmp/openldap-source/openldap
%:
dh $@
override_dh_auto_configure:
$(RM) -r $(OPENLDAP_SOURCE)
mkdir -p $(dir $(OPENLDAP_SOURCE))
cd $(dir $(OPENLDAP_SOURCE)); \
apt-get source slapd
mv $(dir $(OPENLDAP_SOURCE))openldap-*/ $(OPENLDAP_SOURCE)
override_dh_auto_build:
dh_auto_build -- OPENLDAP_SOURCE=$(OPENLDAP_SOURCE)
# debug package
override_dh_strip:
dh_strip --dbg-package=slapd-service-passwords-dbg
override_dh_auto_install:
dh_auto_install --destdir=debian/slapd-service-passwords
override_dh_installdocs:
dh_installdocs --link-doc=slapd-service-passwords
|