[libauthen-simple-http-perl] 01/04: Convert package to short format dh and compat 9
Daniel Lintott
dlintott-guest at moszumanska.debian.org
Fri Apr 25 14:00:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
dlintott-guest pushed a commit to branch master
in repository libauthen-simple-http-perl.
commit 480706c7105e5a4426819f36b543423360e1cf86
Author: Daniel Lintott <daniel at serverb.co.uk>
Date: Fri Apr 25 13:41:30 2014 +0100
Convert package to short format dh and compat 9
---
debian/compat | 2 +-
debian/rules | 51 ++-------------------------------------------------
2 files changed, 3 insertions(+), 50 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 8293b3d..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,51 +1,4 @@
#!/usr/bin/make -f
-PACKAGE=$(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- touch $@
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- TEST_POD=1 $(MAKE) test
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp install-stamp
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs README
- dh_installchangelogs Changes
- dh_compress
- dh_fixperms
- dh_strip
- dh_installdeb
- dh_perl
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: binary clean ibinary-indep binary-arch build clean install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libauthen-simple-http-perl.git
More information about the Pkg-perl-cvs-commits
mailing list