chiark / gitweb /
changelog WIP
[userv.git] / debian / rules
index 05edd5f..97bced1 100755 (executable)
@@ -23,8 +23,9 @@ clean:
        $(checkdir)
        rm -f build build-arch
        $(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
-       rm -rf *~ $t debian/*~ debian/files* debian/substvars*
-       rm -rf spec.html
+       rm -rf *~ $t
+       rm -rf spec.html spec.ps debian/substvars*
+       dh_clean
 
 build-indep:
 binary-indep:
@@ -55,8 +56,9 @@ binary-arch:  checkroot build
        cp debian/lintian $t/usr/share/lintian/overrides/userv
        dpkg-shlibdeps daemon client
        dpkg-gencontrol -isp
-       chown -R root.root $t
-       chmod -R og=rX $t
+       dh_fixperms -Pdebian/tmp
+       chown root.root debian/tmp/usr/bin/userv
+       chmod 4755 debian/tmp/usr/bin/userv
        dpkg --build $t ..
 
 define checkdir