X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=debian%2Frules;h=629ef00f3ac3962240a1fe52e8c723cc285cd75b;hb=HEAD;hp=6ac2da577be41a65f8ec051651d8379487d6c848;hpb=3b326c4bc7733d8993f418db2bf59ff9c4a7c752;p=mirror%2Fuserdir-ldap.git diff --git a/debian/rules b/debian/rules index 6ac2da5..629ef00 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,9 @@ build: dh_testdir $(MAKE) -C doc + # feel free to put dc=debian,dc=org and debian.org into some config file so that this is easier on others who + # also use userdir-ldap. + sed -e 's/@@DN@@/dc=debian,dc=org/g; s/@@DOMAIN@@/debian.org/g' < userdir-ldap-slapd.conf.in > userdir-ldap-slapd.conf touch build clean: @@ -13,12 +16,13 @@ clean: rm -f build find . -name '*.py[co]' -print0 | xargs -0 --no-run-if-empty rm -f $(MAKE) -C doc clean + rm -f userdir-ldap-slapd.conf dh_clean binary-indep: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs dh_install dh_installcron --name=ud-replicate @@ -27,8 +31,8 @@ binary-indep: build dh_installman dh_fixperms dh_compress + dh_python2 dh_installdeb - dh_pysupport dh_gencontrol dh_md5sums dh_builddeb