[libcurses-widgets-perl] 10/14: Finally switch to a minimal dh7 style debian/rules file

Axel Beckert abe at deuxchevaux.org
Wed Sep 11 23:24:52 UTC 2013


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

abe pushed a commit to branch master
in repository libcurses-widgets-perl.

commit e40a019dc5356595cda6a08849f8bde26f549016
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Sep 12 01:12:38 2013 +0200

    Finally switch to a minimal dh7 style debian/rules file
---
 debian/changelog |    1 +
 debian/rules     |   50 ++++----------------------------------------------
 2 files changed, 5 insertions(+), 46 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7824fed..db46bc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,7 @@ libcurses-widgets-perl (1.997-6) UNRELEASED; urgency=low
     + Use dh_auto_{configure,build,install,clean}
     + Remove now obsolete variable definitions
     + Remove now obsolete parameters from dh_clean and dh_installchangelogs
+    + Finally switch to a minimal dh7 style debian/rules file
   * Also fixes the following lintian warnings:
     + dh-clean-k-is-deprecated
     + debian-rules-missing-recommended-target
diff --git a/debian/rules b/debian/rules
index 7e702bb..5da8256 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,52 +1,10 @@
 #!/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.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-	dh_auto_configure
-	dh_auto_build
-	# No, we don't run make test. Don't include it - Interactive :-/
-	# $(MAKE) test
-	touch $@
+%:
+	dh $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
-	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_installdocs
-	dh_installchangelogs
-	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
+# Don't run test suite, it's interactive only!
+override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcurses-widgets-perl.git



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