[libnet-smtpauth-perl] 03/13: Use dh(1) and debhelper compatibility level 8.
gregor herrmann
gregoa at debian.org
Sun Jan 12 16:28:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libnet-smtpauth-perl.
commit 1fe6ca8f5e2c3d05fdf3ed285695106f56d09205
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jan 12 17:13:26 2014 +0100
Use dh(1) and debhelper compatibility level 8.
---
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 55 ++-----------------------------------------------------
3 files changed, 4 insertions(+), 55 deletions(-)
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index 0b84251..1c13750 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: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl (>= 5.8)
Standards-Version: 3.7.3
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libnet-smtpauth-perl.git
diff --git a/debian/rules b/debian/rules
index d45aa3e..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,4 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-PACKAGE = $(shell dh_listpackages)
-
-ifndef PERL
-PERL = $(shell which perl)
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(CURDIR)/debian/$(PACKAGE)
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) install
- [ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs Changes
- dh_installdocs
- dh_installexamples
- dh_compress
- dh_fixperms
- dh_perl
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-smtpauth-perl.git
More information about the Pkg-perl-cvs-commits
mailing list