New debhelper version installs in debian/$package, adjust debian/rules appropriately.
[mirror/userdir-ldap-cgi.git] / debian / rules
index bf81c9b..f957549 100755 (executable)
@@ -4,7 +4,7 @@
 # based on the sample debian/rules file for GNU hello by Ian Jackson.
 
 package:=userdir-ldap-cgi
-i:=./debian/tmp
+i:=./debian/$(package)
 
 build:
        dh_testdir
@@ -14,7 +14,7 @@ build:
 clean:
        dh_testdir
        -rm -f build
-       -rm -rf $(i) debian/files* core debian/substvars debian/debhelper.log html/*.html
+       -rm -rf debian/files* core debian/substvars debian/debhelper.log html/*.html
 
 instdirs = \
        var/www/userdir-ldap \