Remove html/domains.tab from the source as it is autogenerated during build
[mirror/userdir-ldap-cgi.git] / debian / rules
index 454da0a..38efe4e 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 \