[libtest-object-perl] 07/07: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Mon Dec 23 14:30:07 UTC 2013


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

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

commit ad41295893b28f6ff6e9139f1e1080bb9b59ee47
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Dec 23 15:28:58 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 49c00f7..b8370ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ libtest-object-perl (0.07-2) 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
 
  -- Axel Beckert <abe at debian.org>  Mon, 23 Dec 2013 13:26:02 +0100
 
diff --git a/debian/rules b/debian/rules
index 036a91f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,42 +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_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/libtest-object-perl.git



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