[libsys-cpuload-perl] 08/19: Use dh(1) in debian/rules, and debhelper >= 9.20120312~ in debian/control.
gregor herrmann
gregoa at debian.org
Tue Dec 15 18:40:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libsys-cpuload-perl.
commit d9f74da58eaacb239875c607da8bcd79ede582b7
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Dec 15 19:24:58 2015 +0100
Use dh(1) in debian/rules, and debhelper >= 9.20120312~ in debian/control.
---
debian/control | 2 +-
debian/rules | 68 ++--------------------------------------------------------
2 files changed, 3 insertions(+), 67 deletions(-)
diff --git a/debian/control b/debian/control
index 1ccccdc..2353f26 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Noël Köthe <noel at debian.org>
-Build-Depends: debhelper (>> 3.0.0), perl (>= 5.8)
+Build-Depends: debhelper (>= 9), perl (>= 5.8)
Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libsys-cpuload-perl.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libsys-cpuload-perl.git
diff --git a/debian/rules b/debian/rules
index 4d9b81f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,68 +1,4 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
- $(MAKE) test
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
- -$(MAKE) distclean
- rm -f Makefile Makefile.old CpuLoad.o
- rm -rf blib
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/tmp
- $(MAKE) DESTDIR=$(CURDIR)/debian/libsys-cpuload-perl install
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
-
- dh_installdocs
- dh_installchangelogs Changes
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_perl
- dh_shlibdeps
- 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/libsys-cpuload-perl.git
More information about the Pkg-perl-cvs-commits
mailing list