This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libsubtitles-perl.

commit ab34e2d9803a07545b724cd82522685dcdc07e7d
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Sep 15 16:45:22 2016 +0200

    Don't install subplay into /usr/bin anymore
    
    as it needs the removed Prima module.
    
    Put it into examples instead.
---
 debian/libsubtitles-perl.examples |  1 +
 debian/rules                      | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/libsubtitles-perl.examples 
b/debian/libsubtitles-perl.examples
new file mode 100644
index 0000000..f78ce54
--- /dev/null
+++ b/debian/libsubtitles-perl.examples
@@ -0,0 +1 @@
+subplay
diff --git a/debian/rules b/debian/rules
index 2d33f6a..272c046 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
        dh $@
+
+override_dh_auto_install:
+       dh_auto_install
+       $(RM) -v $(TMP)/usr/bin/subplay
+       rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/bin
+       $(RM) -v $(TMP)/usr/share/man/man1/subplay.1p
+       rmdir --ignore-fail-on-non-empty --parents --verbose 
$(TMP)/usr/share/man/man1

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libsubtitles-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to