[libapp-info-perl] 01/11: debian/rules: use dh(1).

gregor herrmann gregoa at debian.org
Sun Jan 12 15:24:53 UTC 2014


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

gregoa pushed a commit to branch master
in repository libapp-info-perl.

commit eaea1b463882267c6d53c6cdbe0d194993e6f9dd
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jan 12 16:13:10 2014 +0100

    debian/rules: use dh(1).
---
 debian/rules | 53 ++---------------------------------------------------
 1 file changed, 2 insertions(+), 51 deletions(-)

diff --git a/debian/rules b/debian/rules
index 63ff437..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,53 +1,4 @@
 #!/usr/bin/make -f
 
-ifndef PERL
-PERL = $(shell which perl)
-endif
-
-PACKAGE = $(shell dh_listpackages)
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(CURDIR)/debian/$(PACKAGE) create_packlist=0	
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-	$(MAKE) test
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Build ] || $(MAKE) realclean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs Changes
-	dh_installdocs
-	dh_compress
-	dh_fixperms
-	dh_perl
-	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/libapp-info-perl.git



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