[libstar-parser-perl] 15/16: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Mon Dec 23 21:07:47 UTC 2013


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

abe pushed a commit to branch master
in repository libstar-parser-perl.

commit 163d21396d27d9868500da9adb2d50df06fd9f02
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Dec 23 22:05:13 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index b7cb5a8..7eb377f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,7 @@ libstar-parser-perl (0.59-4) UNRELEASED; urgency=low
     + Drop obsolete parameter from dh_installchangelogs
     + Move dh_installdocs parameter to debian/docs
     + Remove obsolete variable usage
+    + Finally switch to a minimal dh-style debian/rules file
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:31:57 +0200
 
diff --git a/debian/rules b/debian/rules
index 50fcf4b..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,45 +3,5 @@
 # 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
-	# Add here commands to compile the package.
-	dh_auto_configure
-	dh_auto_build
-	dh_auto_test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install:
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	dh_auto_install
-
-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 configure
+%:
+	dh $@

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



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