[libwebservice-cia-perl] 04/07: Move dh_installexamples parameters to debian/examples

Axel Beckert abe at deuxchevaux.org
Mon Jun 2 01:13:56 UTC 2014


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

abe pushed a commit to branch master
in repository libwebservice-cia-perl.

commit 6c53a5e11dabd11826163fadb42615694c8d952a
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Jun 2 03:08:23 2014 +0200

    Move dh_installexamples parameters to debian/examples
---
 debian/changelog | 2 ++
 debian/examples  | 2 ++
 debian/rules     | 6 +++---
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 73d7e7b..39e34a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,8 @@ libwebservice-cia-perl (1.4-2) UNRELEASED; urgency=low
   * Revamp debian/rules:
     + Fix 2x lintian warning debian-rules-missing-recommended-target
     + Use dh_auto_{configure,build,test,install,clean}
+    + Remove obsolete dh_{clean,installchangelogs} parameters
+    + Move dh_installexamples parameters to debian/examples
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:48:55 +0100
 
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..8826800
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,2 @@
+examples/*
+webservice-cia-makedbm.pl
diff --git a/debian/rules b/debian/rules
index 16f532c..a9b756b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,7 +44,7 @@ clean:
 	# Add commands to clean up after the build process here
 	dh_auto_clean
 
-	dh_clean build-stamp install-stamp
+	dh_clean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -67,9 +67,9 @@ binary-arch:
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installexamples $(CURDIR)/examples/* $(CURDIR)/webservice-cia-makedbm.pl
+	dh_installexamples
 	dh_installdocs
-	dh_installchangelogs Changes
+	dh_installchangelogs
 	dh_perl
 	dh_compress
 	dh_fixperms

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



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