]> git.deb.at Git - pkg/mmv.git/commitdiff
Use dh_installman
authorAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 16:08:22 +0000 (18:08 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Sun, 16 Sep 2012 17:14:59 +0000 (19:14 +0200)
debian/manpages [new file with mode: 0644]
debian/rules

diff --git a/debian/manpages b/debian/manpages
new file mode 100644 (file)
index 0000000..6cd66f2
--- /dev/null
@@ -0,0 +1 @@
+mmv.1
index 801b49c1819b55804b22a685e1d04b29e929a95e..d7a5458090cccae6d461676238e4acb785f6333d 100755 (executable)
@@ -57,11 +57,9 @@ binary-arch: build
        chmod g-s debian/tmp
        install -d -g root -m 755 -o root debian/tmp/DEBIAN
        install -d -g root -m 755 -o root debian/tmp/usr/bin
        chmod g-s debian/tmp
        install -d -g root -m 755 -o root debian/tmp/DEBIAN
        install -d -g root -m 755 -o root debian/tmp/usr/bin
-       install -d -g root -m 755 -o root debian/tmp/usr/share/man/man1
        install -g root -o root -m 755 mmv debian/tmp/usr/bin
        dh_strip
        install -g root -o root -m 755 mmv debian/tmp/usr/bin
        dh_strip
-       install -g root -o root -m 644 mmv.1 debian/tmp/usr/share/man/man1
-       gzip -9f debian/tmp/usr/share/man/man1/mmv.1
+       dh_installman
        (cd debian/tmp/usr/bin;\
         ln -s mmv mcp; \
         ln -s mmv mad; \
        (cd debian/tmp/usr/bin;\
         ln -s mmv mcp; \
         ln -s mmv mad; \