[libdublincore-record-perl] 14/17: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Tue Dec 24 03:57:53 UTC 2013


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

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

commit 31c05156290a6d93ba6e17531eb2fd2ca7415b8d
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 24 04:45:20 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 49f0538..edd337e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,7 @@ libdublincore-record-perl (0.03-2) UNRELEASED; urgency=low
     + Use dh_auto_{configure,build,test,install,clean}
     + Drop obsolete parameters from dh_{installchangelogs,clean}
     + Remove obsolete variables and targets
+    + Finally switch to a minimal dh-style debian/rules file
   * No more install README as it's generated from POD
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 06 Aug 2008 18:23:27 -0300
diff --git a/debian/rules b/debian/rules
index f060ef1..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,61 +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
-
-	# Add commands to compile the package here
-	dh_auto_configure
-	dh_auto_build
-	dh_auto_test
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	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_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
+%:
+	dh $@

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



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