[libauthen-simple-passwd-perl] 07/11: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sun May 25 01:38:31 UTC 2014


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

abe pushed a commit to branch master
in repository libauthen-simple-passwd-perl.

commit 4374af3be017fa80e2e76b8d54aafefabb797ca7
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun May 25 03:28:08 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 337b344..e87e923 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,7 @@ libauthen-simple-passwd-perl (0.6-3) UNRELEASED; urgency=low
     + Remove obsolete dh_installchangelogs and dh_clean parameters
     + Fix lintian warning debian-rules-missing-recommended-target
     + Drop obsolete 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:39:52 +0100
 
diff --git a/debian/rules b/debian/rules
index dd866e5..fc7df0c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,45 +1,6 @@
 #!/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
-	touch $@
+export TEST_POD=1
 
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	TEST_POD=1 dh_auto_test
-	dh_auto_install
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_strip
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: binary clean ibinary-indep binary-arch build clean install
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libauthen-simple-passwd-perl.git



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