[libclass-returnvalue-perl] 13/14: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Wed Jan 1 01:27:04 UTC 2014


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

abe pushed a commit to branch master
in repository libclass-returnvalue-perl.

commit e5c97266c14783fc2afe884c27b3751346a5c599
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Jan 1 02:23:18 2014 +0100

    Finally switch to a minimal dh-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 7bad3d4..0b47767 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,7 @@ libclass-returnvalue-perl (0.55-2) UNRELEASED; urgency=low
     + Remove obsolete /usr/lib/perl5 handling
     + Drop obsolete dh_{clean,installchangelogs,builddeb} parameters
     + Remove obsolete variable usage and targets
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:08 +0200
 
diff --git a/debian/rules b/debian/rules
index 90dceec..2a77af8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,58 +7,5 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-
-	dh_auto_configure
-
-	touch configure-stamp
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp: configure-stamp
-	dh_testdir
-
-	dh_auto_build
-	dh_auto_test
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_auto_clean
-
-	dh_clean
-
-install: 
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	dh_auto_install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installman
-	dh_installchangelogs
-	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/libclass-returnvalue-perl.git



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