[libtime-human-perl] 12/15: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Mon Dec 23 03:38:40 UTC 2013


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

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

commit a7d53d17b09e92e712c68ce4da53e60b14e94663
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Dec 23 04:31:08 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 29cfc30..b5bf713 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,7 @@ libtime-human-perl (1.03-3) UNRELEASED; urgency=low
       - The latter fixes lintian warning package-contains-empty-directory
     + Remove obsolete /usr/lib/perl5 handling
     + Remove manual stamp file removal, now done by dh_clean
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:32:55 +0200
 
diff --git a/debian/rules b/debian/rules
index 36685a5..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,43 +1,4 @@
 #!/usr/bin/make -f
 
-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 build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	dh_auto_install
-
-binary-arch: build install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	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/libtime-human-perl.git



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