[libdatetime-format-mysql-perl] 05/05: Switch to dh7 style minimal debian/rules file
Axel Beckert
abe at deuxchevaux.org
Sun Sep 1 20:26:49 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libdatetime-format-mysql-perl.
commit ee76805accc9fab8cbaf10efdb531705dc2f4252
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Sep 1 22:26:13 2013 +0200
Switch to dh7 style minimal debian/rules file
Fixes the lintian warning debian-rules-missing-recommended-target.
---
debian/changelog | 2 ++
debian/rules | 57 ++----------------------------------------------------
2 files changed, 4 insertions(+), 55 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 13a1b4d..e9d0e08 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,8 @@ libdatetime-format-mysql-perl (0.04-3) UNRELEASED; urgency=low
* Switch to source format "3.0 (quilt)"
* Bump debhelper compatibility to 9
+ Update versioned debhelper build-dependency accordingly
+ * Switch to dh7 style minimal debian/rules file.
+ + Fixes the lintian warning debian-rules-missing-recommended-target.
-- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 09 Nov 2007 18:22:26 +0100
diff --git a/debian/rules b/debian/rules
index 406c078..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +1,7 @@
#!/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
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Build.PL installdirs=vendor
- $(PERL) Build
- $(PERL) Build test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(PERL) Build install destdir=$(TMP) create_packlist=0
- touch $@
-
-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_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/libdatetime-format-mysql-perl.git
More information about the Pkg-perl-cvs-commits
mailing list