[libtext-worddiff-perl] 04/12: Use dh(1) and debhelper compatibility level 8.

gregor herrmann gregoa at debian.org
Sun Jan 12 17:25:30 UTC 2014


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

gregoa pushed a commit to branch master
in repository libtext-worddiff-perl.

commit a14d00fb27537a8062c787973146e419c2e38d0b
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jan 12 18:15:20 2014 +0100

    Use dh(1) and debhelper compatibility level 8.
    
    Don't install README anymore.
---
 debian/compat  |  2 +-
 debian/control |  2 +-
 debian/rules   | 52 ++--------------------------------------------------
 3 files changed, 4 insertions(+), 52 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index 0a54d04..dd8e215 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: extra
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8), libmodule-build-perl
 Standards-Version: 3.8.3
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtext-worddiff-perl.git
diff --git a/debian/rules b/debian/rules
index e78f907..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,52 +1,4 @@
 #!/usr/bin/make -f
 
-PACKAGE = $(shell dh_listpackages)
-
-ifndef PERL
-PERL = $(shell which perl)
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(CURDIR)/debian/$(PACKAGE) create_packlist=0
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Build ] || $(MAKE) realclean
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep	
-	dh_installdirs
-	$(MAKE) install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs Changes
-	dh_installdocs README
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-worddiff-perl.git



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