[libmail-pop3client-perl] 09/22: Use dh(1) in debian/rules and debhelper compat level 9.

gregor herrmann gregoa at debian.org
Tue Dec 15 18:21:40 UTC 2015


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

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

commit b72f098d74c65a1bccb921abd62dc46dc698e44b
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Dec 15 19:09:00 2015 +0100

    Use dh(1) in debian/rules and debhelper compat level 9.
---
 debian/compat  |  2 +-
 debian/control |  2 +-
 debian/rules   | 70 ++--------------------------------------------------------
 3 files changed, 4 insertions(+), 70 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index b0d2d4a..3d94235 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Noël Köthe <noel at debian.org>
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>= 9)
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmail-pop3client-perl.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmail-pop3client-perl.git
diff --git a/debian/rules b/debian/rules
index 9bd7b04..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,70 +1,4 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-	-$(MAKE) distclean
-	rm -f Makefile Makefile.old
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-	#$(MAKE) PREFIX=`pwd`/debian/tmp/usr install
-
-	cp $(CURDIR)/blib/lib/Mail/POP3Client.pm $(CURDIR)/debian/libmail-pop3client-perl/usr/share/perl5/Mail/
-	cp $(CURDIR)/blib/man3/Mail::POP3Client.3pm $(CURDIR)/debian/libmail-pop3client-perl/usr/share/man/man3/
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
 
+%:
+	dh $@

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



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