[libxml-xpath-perl] 05/07: Fix examples dir install.

Angel Abad angel at debian.org
Sat Nov 12 11:27:44 UTC 2016


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

angel pushed a commit to branch master
in repository libxml-xpath-perl.

commit 6f2e6c5d347eda1441ec71a63260cc035bd9e3b3
Author: Angel Abad <angelabad at gmail.com>
Date:   Sat Nov 12 12:19:22 2016 +0100

    Fix examples dir install.
---
 debian/libxml-xpath-perl.examples | 2 +-
 debian/rules                      | 7 -------
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/debian/libxml-xpath-perl.examples b/debian/libxml-xpath-perl.examples
index 01e29a8..e39721e 100644
--- a/debian/libxml-xpath-perl.examples
+++ b/debian/libxml-xpath-perl.examples
@@ -1 +1 @@
-t/*.t
+examples/*
diff --git a/debian/rules b/debian/rules
index fbbef32..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,4 @@
 #!/usr/bin/make -f
 
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
 %:
 	dh $@
-
-override_dh_installexamples:
-	dh_installexamples
-	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*

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



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