[libclass-errorhandler-perl] 06/18: Switch to minimal dh rules file

dom at earth.li dom at earth.li
Sun Aug 6 02:56:13 UTC 2017


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

dom pushed a commit to branch master
in repository libclass-errorhandler-perl.

commit 007603703e66e75c8ba4b53c64b0d02b70459763
Author: Dominic Hargreaves <dom at earth.li>
Date:   Sun Jun 9 10:59:33 2013 +0100

    Switch to minimal dh rules file
---
 debian/changelog |  1 +
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/rules     | 81 ++------------------------------------------------------
 4 files changed, 5 insertions(+), 81 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 26da940..b7417d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libclass-errorhandler-perl (0.01-3) UNRELEASED; urgency=low
 
   * Add Vcs-* URLs
   * Switch to dpkg-source 3.0 (quilt) format
+  * Switch to minimal dh rules file
 
  -- Dominic Hargreaves <dom at earth.li>  Sun, 09 Jun 2013 10:57:21 +0100
 
diff --git a/debian/compat b/debian/compat
index b8626c4..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+8
diff --git a/debian/control b/debian/control
index bed533c..173c2a6 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libclass-errorhandler-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4.0.2)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl
 Maintainer: Dominic Hargreaves <dom at earth.li>
 Standards-Version: 3.6.2
diff --git a/debian/rules b/debian/rules
index b6b6692..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,81 +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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add commands to clean up after the build process here
-	-$(PERL) Build distclean
-
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(PERL) Build test
-	$(PERL) Build install destdir=$(TMP)
-
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-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/libclass-errorhandler-perl.git



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