[liburi-find-perl] 24/31: Switch to debhelper 8 and minimal rules
gregor herrmann
gregoa at debian.org
Sat Jul 25 17:41:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository liburi-find-perl.
commit 27acaa0d3b4b19d86bdbf42b1b0f0ce205a40751
Author: Dominic Hargreaves <dom at earth.li>
Date: Sat Apr 7 22:39:33 2012 +0100
Switch to debhelper 8 and minimal rules
---
debian/changelog | 1 +
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 63 ++------------------------------------------------------
4 files changed, 5 insertions(+), 63 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 37349c9..b7df803 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ liburi-find-perl (20100505-3) UNRELEASED; urgency=low
* Add Vcs-* headers
* Switch to dpkg-source 3.0 (quilt) format
+ * Switch to debhelper 8 and minimal rules
-- Dominic Hargreaves <dom at earth.li> Sat, 07 Apr 2012 22:37:56 +0100
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 225a191..f17a318 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: liburi-find-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl, liburi-perl, perl (>= 5.10.1) | libmodule-build-perl (>= 0.3000), perl (>= 5.10.1) | libtest-simple-perl (>= 0.82)
Maintainer: Dominic Hargreaves <dom at earth.li>
Standards-Version: 3.9.1
diff --git a/debian/rules b/debian/rules
index b76425d..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,63 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
- # Add commands to compile the package here
- $(PERL) Build.PL installdirs=vendor
- $(PERL) Build
- $(PERL) Build test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- # Add commands to clean up after the build process here
- [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- # Add commands to install the package into $(TMP) here
- $(PERL) Build install destdir=$(TMP) create_packlist=0
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs README TODO
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- 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/liburi-find-perl.git
More information about the Pkg-perl-cvs-commits
mailing list