[SCM] Debian packaging of libbusiness-onlinepayment-openecho-perl branch, master, updated. 047936683dffb99858ecd1c654358f995029b080

Xavier Guimard x.guimard at free.fr
Sun Jan 20 12:05:36 UTC 2013


The following commit has been merged in the master branch:
commit c1b367ce0e73953fa561d584cc7377266c5da009
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Sun Jan 20 12:59:59 2013 +0100

    Update debian/rules to use "dh $@"

diff --git a/debian/rules b/debian/rules
index ee8e672..9d1687f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,75 +1,7 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	#skipping test for now, the testing echo ID doesn't work anymore
-	#$(MAKE) test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-	touch $@
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README TODO
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+override_dh_auto_test:
+	dh_auto_test -- TEST_FILES="t/bop.t t/crypt_load.t t/load.t"

-- 
Debian packaging of libbusiness-onlinepayment-openecho-perl



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