[libxml-handler-composer-perl] 01/05: Convert package to short format dh and compat 9

Daniel Lintott dlintott-guest at moszumanska.debian.org
Thu Apr 24 19:50:23 UTC 2014


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

dlintott-guest pushed a commit to branch master
in repository libxml-handler-composer-perl.

commit 7052ddf7c99905a876e793997f3cbd9ac2df33cd
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Thu Apr 24 20:36:57 2014 +0100

    Convert package to short format dh and compat 9
---
 debian/compat |  2 +-
 debian/rules  | 53 ++---------------------------------------------------
 2 files changed, 3 insertions(+), 52 deletions(-)

diff --git a/debian/compat b/debian/compat
index 1e8b314..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+9
diff --git a/debian/rules b/debian/rules
index ea8dab3..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,53 +1,4 @@
 #!/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
-
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
-
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
-
-
-build:
-	dh_testdir
-	# Add here commands to compile the package.
-	perl Makefile.PL verbose INSTALLDIRS=vendor
-clean:
-	dh_testdir
-	dh_testroot
-
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
-
-install:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
-
-binary-arch:;
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installman
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	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 configure
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-handler-composer-perl.git



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