[librelative-perl] 04/04: Finally switch to a minimal dh v7 style debian/rules file
Axel Beckert
abe at deuxchevaux.org
Sat Jun 6 23:24:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository librelative-perl.
commit afa8c821c115a7f71a7f72783d5a2bad46eb8a92
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Jun 7 01:23:54 2015 +0200
Finally switch to a minimal dh v7 style debian/rules file
---
debian/changelog | 1 +
debian/rules | 57 ++------------------------------------------------------
2 files changed, 3 insertions(+), 55 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7cb934c..e31965c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ librelative-perl (0.04-2) UNRELEASED; urgency=low
* Revamp debian/rules:
+ Use dh_auto_{configure,build,test,install,clean}.
+ Drop now redundant dh_{clean,installchangelogs} parameters.
+ + Finally switch to a minimal dh v7 style debian/rules file.
-- gregor herrmann <gregoa at debian.org> Sat, 10 May 2008 20:49:28 +0200
diff --git a/debian/rules b/debian/rules
index b54f0fe..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
- dh_auto_configure
- dh_auto_build
- dh_auto_test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean
- dh_auto_clean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_auto_install
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- 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/librelative-perl.git
More information about the Pkg-perl-cvs-commits
mailing list