[libalzabo-perl] 12/13: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Thu Dec 26 05:02:37 UTC 2013


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

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

commit 8417278e709f205da87d1cfb75c50b4b2bd4a153
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Dec 26 05:58:21 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index a3c0b01..15c9d9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,7 @@ libalzabo-perl (0.92-3) UNRELEASED; urgency=low
     + Move dh_install{,docs,examples} parameters to
       debian/{install,docs,examples}
     + Remove obsolete variable usage and targets
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:39:22 +0100
 
diff --git a/debian/rules b/debian/rules
index d994590..b43d6ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +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.
-#
-# 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 $@
 
+override_dh_auto_configure:
 	dh_auto_configure -- --automated --mysql --pg
-	dh_auto_build
-	dh_auto_test
-
-	touch build-stamp
-
-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 install-stamp
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_install
-	dh_installdocs
-	dh_installexamples
-	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

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



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