Remove html/domains.tab from the source as it is autogenerated during build
[mirror/userdir-ldap-cgi.git] / debian / rules
index bf81c9b..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 \
@@ -30,7 +30,6 @@ binary-indep: build
        dh_clean -k
        dh_installdirs $(instdirs)
        dh_installdocs
-       isoquery -i 3166 -c | cut -f 1,4 > html/domains.tab
 
        install -m 755 *.cgi $(i)/var/www/userdir-ldap/
        install -m 644 Util.pm $(i)/var/www/userdir-ldap/