[libset-infinite-perl] 01/07: Use dh(1) and debhelper 9.

gregor herrmann gregoa at debian.org
Sat Apr 16 15:04:52 UTC 2016


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

gregoa pushed a commit to branch master
in repository libset-infinite-perl.

commit aae5af94ae3fef0ec58af8f3ff8028e09f98fe4b
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Apr 16 16:52:36 2016 +0200

    Use dh(1) and debhelper 9.
---
 debian/compat                    |  2 +-
 debian/control                   |  2 +-
 debian/libset-infinite-perl.docs |  1 +
 debian/rules                     | 60 ++--------------------------------------
 4 files changed, 5 insertions(+), 60 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 c3b3a28..7338e44 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libset-infinite-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jaldhar H. Vyas <jaldhar at debian.org>, 
diff --git a/debian/libset-infinite-perl.docs b/debian/libset-infinite-perl.docs
new file mode 100644
index 0000000..1333ed7
--- /dev/null
+++ b/debian/libset-infinite-perl.docs
@@ -0,0 +1 @@
+TODO
diff --git a/debian/rules b/debian/rules
index 43ed79a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +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.
 
-# 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
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs 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/libset-infinite-perl.git



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