[libtext-header-perl] 05/15: Use dh(1) and debhelper compatibility level 9.
gregor herrmann
gregoa at debian.org
Mon Sep 28 21:24:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtext-header-perl.
commit 8d4f9693b9db7dfe48c6a2013e234d22208b0429
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Sep 28 23:10:29 2015 +0200
Use dh(1) and debhelper compatibility level 9.
Closes: #800244
---
debian/compat | 1 +
debian/control | 4 +--
debian/rules | 88 ++--------------------------------------------------------
3 files changed, 5 insertions(+), 88 deletions(-)
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
index f04dc55..56194c5 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: libtext-header-perl
Section: interpreters
Priority: optional
-Build-Depends-Indep: debhelper (>= 3.0.5), perl (>= 5.6.0-17)
+Build-Depends-Indep: debhelper (>= 9), perl (>= 5.6.0-17)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Tollef Fog Heen <tfheen at debian.org>
Standards-Version: 3.5.1
@@ -21,4 +21,4 @@ Description: RFC 822/2068 header and unheader functions
.
The output style is designed to mimic CGI.pm and HTTP::Headers,
so that users familiar with these interfaces will feel at home with
- these functions.
\ No newline at end of file
+ these functions.
diff --git a/debian/rules b/debian/rules
index 399809e..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,88 +1,4 @@
#!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-export DH_COMPAT=3
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-ifndef DESTDIR
-DESTDIR=..
-endif
-TMP =`pwd`/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) realclean
-
- dh_clean
-
-install:
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/tmp.
- #$(MAKE) install DESTDIR=`pwd`/debian/tmp
- $(MAKE) install DESTDIR=$(TMP)
-
-
-# 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_testversion
- dh_testdir
- dh_testroot
- dh_installdocs README
- dh_installexamples
- dh_installmenu
-# dh_installemacsen
-# dh_installinit
- dh_installcron
- dh_installman
-# dh_undocumented
- dh_installchangelogs Changes
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- chmod -x $(TMP)/usr/share/perl5/Text/Header.pm
-# dh_makeshlibs
- dh_installdeb
- dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb --destdir=$(DESTDIR)
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-header-perl.git
More information about the Pkg-perl-cvs-commits
mailing list