From: Axel Beckert Date: Sun, 16 Sep 2012 16:42:17 +0000 (+0200) Subject: Use dh_link X-Git-Tag: debian/1.01b-16~15 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=36b386e058dd7265b9fd3bb83bce375ca630b24a;p=pkg%2Fmmv.git Use dh_link --- diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..af4d89b --- /dev/null +++ b/debian/links @@ -0,0 +1,6 @@ +usr/bin/mmv usr/bin/mcp +usr/bin/mmv usr/bin/mad +usr/bin/mmv usr/bin/mln +usr/share/man/man1/mmv.1.gz usr/share/man/man1/mcp.1.gz +usr/share/man/man1/mmv.1.gz usr/share/man/man1/mad.1.gz +usr/share/man/man1/mmv.1.gz usr/share/man/man1/mln.1.gz diff --git a/debian/rules b/debian/rules index 7bfcfaf..cbfa5f4 100755 --- a/debian/rules +++ b/debian/rules @@ -55,14 +55,7 @@ binary-arch: build dh_installdirs dh_auto_install dh_strip - (cd debian/mmv/usr/bin;\ - ln -s mmv mcp; \ - ln -s mmv mad; \ - ln -s mmv mln;) - (cd debian/mmv/usr/share/man/man1;\ - ln -s mmv.1.gz mcp.1.gz; \ - ln -s mmv.1.gz mad.1.gz; \ - ln -s mmv.1.gz mln.1.gz;) + dh_link install -d -g root -m 755 -o root debian/mmv/usr/share/doc/$(p) dh_installdocs dh_installchangelogs