Use dh_gencontrol
[pkg/mmv.git] / debian / rules
index f175d991e984f3a9c13ad8d0edc258086b9f9203..36fc2585f3705a95d007147ce39bbce169438a64 100755 (executable)
@@ -79,7 +79,7 @@ binary-arch: build
        chmod -R g-sw debian/tmp/usr/share/doc/$(p)
        chown -R root.root debian/tmp/usr/share/doc/$(p)
        dpkg-shlibdeps debian/tmp/usr/bin/mmv
-       dpkg-gencontrol -isp
+       dh_gencontrol
        cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
                 xargs -r0 md5sum > DEBIAN/md5sums
        dpkg --build debian/tmp && dpkg-name -o -s .. debian/tmp.deb