[libhttp-server-simple-static-perl] 09/11: Migrate to debhelper 9 with tiny rules.

Intrigeri intrigeri at alioth.debian.org
Tue Aug 20 00:41:10 UTC 2013


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

intrigeri pushed a commit to branch master
in repository libhttp-server-simple-static-perl.

commit 5ad6faa2e18ee5dd5297ed808973bd5791a39f9b
Author: intrigeri <intrigeri at boum.org>
Date:   Tue Aug 20 00:22:15 2013 +0000

    Migrate to debhelper 9 with tiny rules.
---
 debian/compat  |    2 +-
 debian/control |    2 +-
 debian/rules   |   77 ++------------------------------------------------------
 3 files changed, 4 insertions(+), 77 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 5ca85b7..2728c62 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0),
+Build-Depends: debhelper (>= 9),
                perl
 Build-Depends-Indep: perl,
                      perl-modules (>= 5.14.2-21),
diff --git a/debian/rules b/debian/rules
index f3f8e15..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,77 +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
-	$(PERL) Build
-	$(PERL) Build test
-
-	touch build-stamp
-
-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 distclean
-
-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 install destdir=$(TMP) create_packlist=0
-
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples
-	dh_installchangelogs Changes
-	dh_perl
-	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/libhttp-server-simple-static-perl.git



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