X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=debian%2Frules;h=58dd40a3adb1daf63ff39d3f6684695ff3c43a65;hb=5e1a939e905742d9290119fe69e8b02ea4a8c6fd;hp=b92d5863f000419ac1ba7f874cb753d70f20fc37;hpb=dd46ef32641c168167a205a18fb7990dd80524e2;p=mirror%2Fuserdir-ldap.git diff --git a/debian/rules b/debian/rules index b92d586..58dd40a 100755 --- a/debian/rules +++ b/debian/rules @@ -5,14 +5,18 @@ build: dh_testdir - touch build $(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: dh_testdir 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,8 +31,8 @@ binary-indep: build dh_installman dh_fixperms dh_compress + dh_python2 dh_installdeb - dh_pysupport dh_gencontrol dh_md5sums dh_builddeb