[libtk-splashscreen-perl] 10/12: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Wed Jan 1 05:48:58 UTC 2014


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

abe pushed a commit to branch master
in repository libtk-splashscreen-perl.

commit 83de650a61ca6bcd06485094c9549479c056697e
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Jan 1 06:44:58 2014 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 092b9a3..56b8693 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,7 @@ libtk-splashscreen-perl (1.0-4) UNRELEASED; urgency=low
     + Use debian/clean and dh_clean's automatic stamp file removal
     + Remove obsolete /usr/lib/perl5 handling
     + Remove obsolete variable usage
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- Frank Lichtenheld <djpig at debian.org>  Thu, 08 Nov 2007 19:06:22 +0100
 
diff --git a/debian/rules b/debian/rules
index b6b4c9c..9259b57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,49 +1,10 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
 # 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
-	xvfb-run -a 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
+%:
+	dh $@
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_perl	
-	dh_installdocs
-	dh_installexamples
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_auto_test:
+	xvfb-run -a dh_auto_test

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



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