[libemail-valid-loose-perl] 09/11: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sun May 25 01:03:50 UTC 2014


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

abe pushed a commit to branch master
in repository libemail-valid-loose-perl.

commit 786ab2a61c5108351fc1d3fc40ade1321551c04d
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun May 25 02:58:03 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index decc199..420dc2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ libemail-valid-loose-perl (0.05-4) UNRELEASED; urgency=low
     + Replace "dh_clean -k" by "dh_prep"
     + Fix lintian warning debian-rules-missing-recommended-target
     + Drop obsolete targets, variable usage and /usr/lib/perl5 handling
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:42:26 +0100
 
diff --git a/debian/rules b/debian/rules
index 7d91571..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +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.
 
 # 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
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	# Add commands to clean up after the build process here
-	dh_auto_clean
-	dh_clean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_auto_test
-	dh_auto_install
-
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_perl
-	dh_link
-	dh_strip
-	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/libemail-valid-loose-perl.git



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