[libdatetime-format-mail-perl] 12/14: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Thu Dec 26 02:17:36 UTC 2013


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

abe pushed a commit to branch master
in repository libdatetime-format-mail-perl.

commit 4e95f6bb1e6d3776f5d50320cd55b0669880ae99
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Dec 26 03:11:48 2013 +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 20511b6..f1d266c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,7 @@ libdatetime-format-mail-perl (0.3001-2) UNRELEASED; urgency=low
     + Use dh_auto_{configure,build,test,install,clean}
     + Drop obsolete dh_{clean,installchangelogs} parameters
     + Remove obsolete variable usage
+    + Finally switch to a minimal dh-style debian/rules file
   * No more install (installation instructions only) upstream README
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:42 +0200
diff --git a/debian/rules b/debian/rules
index 9b9d514..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,54 +1,7 @@
 #!/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.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
 # 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 $@
-
-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
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdatetime-format-mail-perl.git



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