[libdbix-xmlmessage-perl] 10/11: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sun Dec 15 19:14:59 UTC 2013


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

abe pushed a commit to branch master
in repository libdbix-xmlmessage-perl.

commit 842892dc1b535290bb872aa437c93575434d16d6
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Dec 15 20:12:25 2013 +0100

    Finally switch to a minimal dh-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 32da106..69b90ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,7 @@ libdbix-xmlmessage-perl (0.05-10) UNRELEASED; urgency=low
       - Remove obsolete dh_install call
       - Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
     + Drop manual stamp file removal, now done by dh_clean automatically
+    + Finally switch to a minimal dh-style debian/rules file.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:55 +0200
 
diff --git a/debian/rules b/debian/rules
index be1fcf4..5296dcb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +1,7 @@
 #!/usr/bin/make -f
-## ----------------------------------------------------------------------
-## debian/rules : package script for libdbix-xmlmessage-perl
-## ----------------------------------------------------------------------
 
-## ----------------------------------------------------------------------
-## uncomment this to turn on verbose mode
+# uncomment this to turn on verbose mode
 #export DH_VERBOSE=1
 
-## ----------------------------------------------------------------------
-TMP_DIR		= debian/tmp
-
-## ----------------------------------------------------------------------
-## targets
-
-clean:
-		dh_testdir
-		dh_testroot
-		dh_auto_clean
-		dh_clean
-
-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
-
-install:	install-stamp
-install-stamp:	build
-		dh_testdir
-		dh_testroot
-		dh_prep
-		dh_installdirs
-		dh_auto_install
-		touch install-stamp
-
-binary-indep:	build install
-		dh_testdir
-		dh_testroot
-		dh_installdocs
-		dh_installchangelogs
-		dh_compress
-		dh_fixperms
-		dh_installdeb
-		dh_perl
-		dh_gencontrol
-		dh_md5sums
-		dh_builddeb
-
-binary-arch:
-
-binary:		binary-indep binary-arch
-
-.PHONY:		clean build install binary-indep binary-arch binary
-
-## ----------------------------------------------------------------------
+%:
+	dh $@

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



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