[libxml-atom-simplefeed-perl] 09/11: Remove x.pl and t.pl during installation (these are examples)

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Tue Sep 8 19:02:58 UTC 2015


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

kanashiro-guest pushed a commit to branch master
in repository libxml-atom-simplefeed-perl.

commit c15fe2321b32d6379a9be7b3b276dcedd3f85859
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Tue Sep 8 15:15:19 2015 -0300

    Remove x.pl and t.pl during installation (these are examples)
---
 debian/changelog | 1 +
 debian/rules     | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 69ff260..a1b158f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ libxml-atom-simplefeed-perl (0.862-1) UNRELEASED; urgency=medium
   * Update year of upstream copyright and fix GPL license path
   * Remove build dependency on libmodule-build-perl
   * Add debian/libxml-atom-simplefeed-perl.examples
+  * Remove x.pl and t.pl during installation (these are examples)
 
  -- Lucas Kanashiro <kanashiro.duarte at gmail.com>  Tue, 08 Sep 2015 14:42:29 -0300
 
diff --git a/debian/rules b/debian/rules
index 2d33f6a..4ce93e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	rm --verbose $(TMP)/usr/share/perl5/XML/Atom/t.pl
+	rm --verbose $(TMP)/usr/share/perl5/XML/Atom/x.pl

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



More information about the Pkg-perl-cvs-commits mailing list