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