[libdbix-xml-rdb-perl] 03/05: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sun Dec 15 18:02:18 UTC 2013


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

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

commit cbd82d0decfe70a2cd8715d5e109c6fcfb5ebef1
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Dec 15 18:58:15 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index a357742..7dfc2d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,7 @@ libdbix-xml-rdb-perl (0.05-12) UNRELEASED; urgency=low
     + Remove obsolete stamp file parameters from dh_clean.
     + Remove obsolete parameter from dh_installchangelogs.
     + Remove obsolete variables.
+    + Finally switch to a minimal dh-style debian/rules file.
   * Apply wrap-and-sort
 
  -- 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 1175a10..5ceb899 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +1,14 @@
 #!/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.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 TMP     = $(CURDIR)/debian/libdbix-xml-rdb-perl
 
-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 $@
+%:
+	dh $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
+override_dh_auto_install:
 	dh_auto_install
 	# Remove examples from other locations
 	$(RM) -rvf $(TMP)/usr/share/perl5/DBIx/*.pl $(TMP)/usr/bin
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-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
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

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



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