Use dh_installchangelogs
authorAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 15:49:42 +0000 (17:49 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 17:14:59 +0000 (19:14 +0200)
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
         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)
        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)