Use dh_installchangelogs
[pkg/mmv.git] / debian / rules
index 4d71a52b3593b3f87fb478f6fbf6930dc4946eb0..f175d991e984f3a9c13ad8d0edc258086b9f9203 100755 (executable)
@@ -73,9 +73,7 @@ binary-arch: build
         ln -s mmv.1.gz mln.1.gz;)
        install -d -g root -m 755 -o root debian/tmp/usr/share/doc/$(p)
        dh_installdocs
-       install -g root -m 644 -o root debian/changelog \
-               debian/tmp/usr/share/doc/$(p)/changelog.Debian
-       gzip -f9 debian/tmp/usr/share/doc/$(p)/*
+       dh_installchangelogs
        install -g root -m 644 -o root debian/lintian-overrides \
          debian/tmp/usr/share/lintian/overrides/mmv
        chmod -R g-sw debian/tmp/usr/share/doc/$(p)