[libdbix-xml-rdb-perl] 01/04: Move dh_installexamples parameter to debian/examples

Axel Beckert abe at deuxchevaux.org
Sun Dec 15 17:53:57 UTC 2013


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

abe pushed a commit to branch master
in repository libdbix-xml-rdb-perl.

commit d1c3a1557fb2aa4d1c84a314b6367b3abac4ff4e
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Dec 15 18:49:44 2013 +0100

    Move dh_installexamples parameter to debian/examples
    
    Remove examples from other locations
---
 debian/changelog | 2 ++
 debian/examples  | 1 +
 debian/rules     | 4 +++-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bbbac8e..7688427 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,8 @@ libdbix-xml-rdb-perl (0.05-12) UNRELEASED; urgency=low
     + Fix lintian warning debian-rules-missing-recommended-target
     + Replace "dh_clean -k" with "dh_prep"
     + Use dh_auto_{configure,build,test,install,clean}
+    + Move dh_installexamples parameter to debian/examples and remove
+      examples from other locations.
   * Apply wrap-and-sort
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:55 +0200
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..73e6fd5
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+*2*.pl
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 4bc66d9..dad3628 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,9 @@ install-stamp: build-stamp
 	dh_testroot
 	dh_prep
 	dh_auto_install
+	# Remove examples from other locations
 	[ ! -d $(TMP)/usr/bin ] || $(RM) -rv $(TMP)/usr/bin
+	$(RM) -v $(TMP)/usr/share/perl5/DBIx/*.pl
 	[ ! -d $(TMP)/usr/lib/perl5 ] || \
 		rmdir --ignore-fail-on-non-empty --parents --verbose \
 		$(TMP)/usr/lib/perl5
@@ -49,7 +51,7 @@ binary-arch:
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installexamples *2*.pl
+	dh_installexamples
 	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl

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



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