[libtree-simple-perl] 05/13: Use debhelper 8 and dh(1) in debian/rules.

gregor herrmann gregoa at debian.org
Fri Nov 8 23:19:32 UTC 2013


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

gregoa pushed a commit to branch master
in repository libtree-simple-perl.

commit e595ecfe285cce82763bc5aeaeca9781288a45d0
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Nov 9 00:04:22 2013 +0100

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

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 e1c11b8..166fc15 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Uploaders: Niko Tyni <ntyni at iki.fi>,
            Damyan Ivanov <dmn at debian.org>
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl,
                      libtest-exception-perl,
                      libtest-pod-perl,
diff --git a/debian/rules b/debian/rules
index 5ed43d7..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,71 +1,4 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PACKAGE=$(shell dh_listpackages)
-
-PERL = /usr/bin/perl
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-
-	$(PERL) Makefile.PL verbose INSTALLDIRS=vendor
-
-	touch $@
-
-build: build-stamp
-build-stamp: configure-stamp
-	dh_testdir
-
-	$(MAKE)
-	$(MAKE) test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp configure-stamp
-
-	[ ! -e Makefile ] || $(MAKE) distclean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# Remove any empty directories
-
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
-
-
-# Build architecture-independent files here.
-binary-arch: build install
-# We have nothing to do.
-
-# Build architecture-dependent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installman
-	dh_installchangelogs Changes
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-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/libtree-simple-perl.git



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