[libwebservice-cia-perl] 07/07: Finally switch to a minimal dh v7 style debian/rules file

Axel Beckert abe at deuxchevaux.org
Mon Jun 2 01:13:56 UTC 2014


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

abe pushed a commit to branch master
in repository libwebservice-cia-perl.

commit 4c9f8a6da2297ed0b2a4fd50ec23bba66a31c88f
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Jun 2 03:13:05 2014 +0200

    Finally switch to a minimal dh v7 style debian/rules file
---
 debian/changelog |  1 +
 debian/rules     | 59 +++-----------------------------------------------------
 2 files changed, 4 insertions(+), 56 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4f9d55c..a44eaf3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,7 @@ libwebservice-cia-perl (1.4-2) UNRELEASED; urgency=low
     + Move dh_installexamples parameters to debian/examples
     + Replace "dh_clean -k" with "dh_prep".
     + Remove obsolete targets, deletions and variable usage.
+    + Finally switch to a minimal dh v7 style debian/rules file.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:48:55 +0100
 
diff --git a/debian/rules b/debian/rules
index ad8cbdb..3354fc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,64 +1,11 @@
 #!/usr/bin/make -f
-# debian/rules for libwebservice-cia-perl, based from the template
-# 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
-#
-# This package is maintained by Zak B. Elep <zakame at spunge.org>
 
 # 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 $@
 
-	# Add commands to compile the package here
-	dh_auto_configure
-	dh_auto_build
-	dh_auto_test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add commands to clean up after the build process here
-	dh_auto_clean
-
-	dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	# Add commands to install the package into debian/$(PACKAGE) here
+override_dh_auto_install:
 	dh_auto_install
 	rm -rf debian/libwebservice-cia-perl/usr/bin
-
-	touch $@
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples
-	dh_installdocs
-	dh_installchangelogs
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb

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



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