[libnet-xwhois-perl] 16/17: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Wed Jan 1 03:34:51 UTC 2014


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

abe pushed a commit to branch master
in repository libnet-xwhois-perl.

commit fc3a05dee1ece873e0e502d142169c8187691521
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Jan 1 04:30:34 2014 +0100

    Finally switch to a minimal dh-style debian/rules file
---
 debian/changelog |  1 +
 debian/rules     | 51 ++-------------------------------------------------
 2 files changed, 3 insertions(+), 49 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 024e8b6..22d6226 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ libnet-xwhois-perl (0.90-4) UNRELEASED; urgency=low
     + Remove obsolete variable usage and targets
     + Remove obsolete dh_{installchangelogs,builddeb} parameters
     + Move dh_install{docs,examples} parameters to debian/{docs,examples}
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:31:17 +0200
 
diff --git a/debian/rules b/debian/rules
index 2bc0be8..9c9181b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,8 @@
 #!/usr/bin/make -f
 #-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
 
 # 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
-	dh_auto_test
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	dh_auto_install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples
-	dh_installman
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
-	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/libnet-xwhois-perl.git



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