X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=debian%2Frules;h=629ef00f3ac3962240a1fe52e8c723cc285cd75b;hb=52b1548e8f2eb7747dc76f761465bb4b49c557aa;hp=414f1fcce49aae8425b7dde8e769ce16907d6c46;hpb=feb12e9f5a75092168836a42cdd5fe6eea18195b;p=mirror%2Fuserdir-ldap.git diff --git a/debian/rules b/debian/rules index 414f1fc..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,7 +31,7 @@ binary-indep: build dh_installman dh_fixperms dh_compress - dh_pysupport + dh_python2 dh_installdeb dh_gencontrol dh_md5sums